Does anyone have the positions for the highest RRN on a Subfile? This was found in the old CPF programmer’s guide a hundred years ago. It was right after the Lowest RRN currently displayed on the subfile. This info comes from the INFDS.
Are there examples?
Software/Hardware used:
as400, rpg,
ASKED:
October 21, 2010 6:54 PM
UPDATED:
December 25, 2011 6:59 PM
Yes, that’s correct. But it depends on what you’re counting. See I/O feedback area for ICF and display files. It’s at offset 13, positions 14-15. I’m probably getting too used to direct access.
Tom
Num_RCDS 389 381 I 0
I don’t think the starting position would be more than the end. Seems like it was 399 – 400 Binary 0.
Nick
What you’re looking for is in the Info Center. See the File Information Data Structure section of the ILE RPG Reference manual. (The link is for the section of the page, but it seems to resolve to the top of the page. You need to click the ‘Device Specific Feedback’ link and scroll to the end to the display-device part or click the ‘Get Attributes Feedback’ link and scroll back one screen; or simply scroll down until you see what you want — Figure 32. Example of Coding an INFDS with Display Specific Feedback Information.)
Looks like a simple typo — ’9′ in place of ’0′.
Tom
Tom,
That is it. It works. Either it was changed from years ago (I still think 399- 400) or I’m having flashbacks. I had programmed alot years ago and have found myself back in the heads down arena. I have trouble remembering how some things work and where to find the answers. Glad, at least, I have found who to ask. Thanks everyone.
Nick
Sorry I didn’t answer appropriately the very first time. Phil’s answer shook me into the right mode of thinking.
Tom