Im trying to use free format RPG IV, but the editor keeps giving me the following error: The File-Type entry is blank or is not I, O, U, or C. What am I doing wrong?
A. This error is almost always caused by having an invalid entry in positions 6-7 of the free format specification. Contrary to what you might think, there are some positional requirements for free format statements. The irony of having a free format language with specific positional requirements was apparently lost on IBM’s language designers. These seven rules for coding free format RPG IV first appeared in my book RPG IV Jump Start. I’ve highlighted the positional requirements.