Retirement tax questions

For the prior year return, I had to put code 8 and J for the 10% penalty to generate in the software.  If the J was left off, the 10% penalty did not appear.