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 |
at what level s,o are defined and what they will do?
all i need to know about cmpseqdat parameter in cmppfm, how it works and can we retrieve line sequence and date from the output?
What is the purpose of the "N" in the following calculation specification? C KEY CHAIN FILE N 99
1.What is the difference between regular join logical file and non join logical file? 2.what are the nessasary keywords for non join logical file
what would be the effect on the field where reverse image, underline and highlight display attributes were active?
What is LDA?
what is data structure?how many types of data structers?
PGM QSH CMD('/QOpenSys/bin/sftp -b/home/test/myfile.txt serverUserID@server') ENDPGM In above example,what is content of myfile.txt ...Thanx
Q. 1.What would be structure of CL PGM. 2. What are the levels of CL PGM. 3.How many files can be defined in new CLLE program?
Q.Suppose one job is running in a batch mode for a long time now i want to kill this batch job. how you achive this?
(1)In Cl Program,Are PGM and ENDPGM mandatery Keywords or not .If yes, please tell me why these keywords is necessary. (2)If we will not define these two keywords (PGMand ENDPGM) then any error will be come or not.
which cl command can be used at program execution to redirect the file named in an rpg program?