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
can you specify a display file to be used in the following modes input,output, or combined modes ?
Can we debug the MSGW JOBS?
maximum number of subfiles that can be active for a single file is?
what is the difference between *like and *namvar ?
in conjunction with which statements can orxx and andxx conditions be used ?
what is the maximum number of parameters allowed in rpg?
What are the record format field mapping options in cpyf?
what is the favicon.ico request that my site receives now and then?
how can u check no of records in a file?
how can you check for a records existence without causing and i/o (chain/read)?
what opcode could be used to test an alphanumeric field for all numeric values?
What is compiler directive in as400? Give example of compiler directive.?
what is the purpose of putovr (put with explicit override) keyword?
when do you use f-spec. Continuation line ?
What is array in as400? What are the types of array?