what is code for reading member in rpgle when wehave
like extmbr(*all)
so we have 3 members in *all then i want to read first
record in 2member

Answer Posted / adhar246

First do *HIVAL SSETGT on the file. It will set the pointer after the last record of first member. than do simple read operation. it will start reading from first record of second member.

Is This Answer Correct ?    3 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how will you find a string using pdm?

697


What is program status data structure(psds) in as400?

613


is their a difference in cobol400 for the release 5.2 and 6.1 at the as400.

2124


what is elastic and non elastic subrile?

569


during input operation which indicator position is seton if there is a record lock?

942






difference between sflrcdnbr and sflnxtchg?

705


what is full form for dds?

751


what is message subfile?

1058


explain the purpose of keep and assume keywords?

1075


explain the use of dftwrt display keyword?

1145


what is overlay?

689


What are the record format field mapping options in cpyf?

618


what is the maximum number of parameters allowed in rpg?

1046


how does union file maintains record formats?

634


what is a query can be run in which mode?

868