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 / swetha p rao
Using Extmbr key word in F Spec you can access the members
of file in RPG4.
Is This Answer Correct ? | 9 Yes | 1 No |
Post New Answer View All Answers
what opcode will be used to test the zone of a character field?
Write a CL program which will run a batch job at 1 am every night
what is the function of cpysplf command?
records can be read/update/deleted with which file?
What is the difference between crtdupobj and copyf?
how can I give more performance to some selected pages?
can you have multiple key lists for a single file ?
1)In a pf if we delete a record then how to insert a new record at the same place in that pf?? any logic or code? 2)A batch job is taking a lot of time to run,found that it is going into loop and wrapping up so how to skip that loop and process the job without changing the code? 3)In which scenario C D I R comes and C D G F comes in a job? 4)If a job came to error while processing a file how we can know at which record the error hit and how to skip that record and process other records without changing program code?
how can database records be read without lock ?
what is the purpose of the indara keyword?
what are the different commands used in rlu ?
what is full form for dds?
can a single screen format occupy a screen area above and below a subfile format ?
how many levels are there in a physical file?
What is dynslt?