开发者

How to view logical file with multiple Recordformats In AS/400?

开发者 https://www.devze.com 2022-12-18 11:59 出处:网络
I have made a multiformat logical file in as400. When I run it, only one record format fields are displayed. Second record format fields ar开发者_C百科e not seen. what is the procedure to see all reco

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


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消