Distinguish between Record Types without Indicators
October 28, 2009 Hey, Ted
I have an RPG question. Now that indicators are verboten, how does an RPG program distinguish between record types when reading a multi-format logical file? That is, what do I use instead of record identifying indicators?
Define a file information data structure for the logical file. The system will place the record format name in positions 261-270. Here’s some sample source code to get you started.