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 / svankipu
Use OVRDBF & replace the member(MBR(*FIRST)) with second
member's name.
Now call the RPG pgm to read the second(2nd) member.
- OR -
If u r already in RPG pgm, use QCMDEXC for overriding the
member with 2nd mbr & continue.
- OR -
If it permits use EXTMBR(2nd mbr-name) instead of EXTMBR(*ALL)
Is This Answer Correct ? | 16 Yes | 0 No |
Post New Answer View All Answers
what are the different types of variables available in cl?
when do you explicitly open files and close files in an rpg program?
which are the query selection criteria, which can be given in a query?
how do you pass parameters in cl?
I need to insert a record in a file using STRSQL containing the some field values same as an already existing record in that file.I know to smple insert mentioning those values one by one.But is there any another query can be prepared for the same .Please share the query if known to you. Thanks in advance.
how many specifications are there in rpg/400? What are they?
Using %check we are checking monika in mona what is output? What is %SCAN?
what is the maximum number of records you can specify in a display file?
in conjunction with which statements can orxx and andxx conditions be used ?
how do u compile rpgle program?
How to reverse the string in rpg
some special characters I key in my html source members show different on my web pages. Why? How can I solve this?
If I want to execute Sftp commands(LS & GET) stored in Physical file from CL program automatically...Can u Plz tell me how can I do this?...How the script will look?? THANX FOR NY HELP...
what is the difference between sflclr and sflinz?
how do you read changed records backward in subfile?