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 ....?
Answers were Sorted based on User's Feedback
Answer / samul paul
Sweta yes, we can use EXTMBR in RPG4 but I need use RPG400
only....
| Is This Answer Correct ? | 0 Yes | 2 No |
Answer / samul paul
Hi Swetha,thanks for ur suggestion.
If I am not worng , in RPG400 pgm we can't specify 2nd
member in F-spec.
Clear me if I am worng....
Thnaks
| Is This Answer Correct ? | 0 Yes | 2 No |
Answer / swetha p rao
I dint get you. You define your member name and specify
Extmbr in F spec.This is in RP400 only rite? we are not
using anything else other than RPG400.
| Is This Answer Correct ? | 0 Yes | 4 No |
We have seen no of parameter list but If we mention like this 'CALL PROGNAME PLIST ' how to know No of parameter name of program ?
how to define global parameter in ile ?
What is the as400 called now?
which of the cl command can be used to determine which logical files are dependent on a specific file?
what is a query can be run in which mode?
what is the maximum number of parameters allowed in rpg?
Define what the operation will do, the purpose of the result field and the purpose of *IN66? HI LO EQ C CALL 'CVTDAT' DTPRM 66
what is the use of UNIQUEUE KEY WORD? what is the difference between PFILE AND REF?
What is the purpose of CHGPF (Change physical file) command?
what is the function of cpyf command?
which are the member types which seu supports?
it is possible declare variable values as variable using cl ? any cl command is there to declare values as variable