tags:

views:

373

answers:

1

I have made a multiformat logical file in as400. When I run it, only one record format fields are displayed. Second record format fields are not seen. what is the procedure to see all record format fields?

A: 

You can do that with RPG. Define the logical file in the F-specs, using one unique indicator for every record layout. Read the file and the indicators let you know which record layout is in the inputbuffer.

Also, you beter start reading the RPG Programmer's guide, and get a grip on the RPG Reference guide. You will NEVER understand this type of iSeries specific stuff by trying, guessing, or using Stack Overflow. Least said, it is quite different from other systems. So, you must be prepared for some steep learning.

BTW even for the iSeries, multiple format files are a little bit exotic. Therefore, don't create them for new applications.

robertnl