I had ruestion in one of the interview.....
If 1 file has more than 1 member and i want to use the 2nd
member in the RPG pgm (in RPG400),how can I use this....
I know the possible answers i.e. useing API 'QCMDEXE' or
Before calling the pgm I can use OVRDBF for that member...
but I dont' want to use both the tips in above scenarion.
Does any body tell me how can i use this ....?
Answer Posted / ravi
Small correction
1)create a logical file on the P.F.,while creating mention
the DataMember name in the CRTLF command and use this
logical if u are not able to use ovrdbf in cl, Extmber in
RPG400/RPGIV and QCMDEXEC in RPG/RPGLE to Execute in OVRDBF.
ex: CRTLF FILE(FILEA) DTAMBRS((FILEA (MEM02)))
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
how do you specify the number of records to roll in a subfile ?
How do I remove a flag or check no. or name when a user opens too many sessions?
In AS/400 projects in Companies whats the meaning of production support team.what production support involves.also what work does development,maintenance involve what are the other teams or processes that are available for as400 project.
If i change any file through application after entering data , how to check which file is updated through applications . For call stack we takes esc 3 then we chose 11..But What is answer of below qtn..?
To Add A File To The 'file Selection' Option Of A Query, The Function Key To Be Pressed Is?
what is sflrolval?
what are dds required for subfile?
what is overlay?
what is match field indicator?
what are the different commands used in rlu ?
What is RETURN CURSER LOCATION in subfile?
how would you design the process for a nightly, high volume check producing process that needs to select only records that are flagged to be processed?
what is the function of crtdupobj command?
what is the command to know key fields of file?
what is a program described file in rpg?