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 / 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 |
Post New Answer View All Answers
what are the different types of data areas?
What is the maximum number of subfiles that can be specified in a display file?
what is subfile?
can a single screen format occupy a screen area above and below a subfile format ?
How to reverse a string using RPG?
maximum number of subfiles that can be active for a single file is?
What Is Ddm ?
what is term cua , saa?
what is sflinz and sflrna?
under given circumstances, my cgi should link to another site. How to implement this?
What is compiler directive in as400? Give example of compiler directive.?
when is a tag statement used in rpg?
i am using non join multiple format my 3 database file is like that pf97 R REC ENAME ETENNO ESTATUS K ENAME pf98 R REC1 ENAME ESAL K ENAME PF99 R REC3 ENAME CRDCARD EID K EID & MY NON JOIN LOGICAL FILE IS ALSO SAME EXCEPT RECORD NAMES BEFORE I TRIED WITH 2 FILES SO ITS SAYS ERROR I.E.(Key field attributes must be same as for previous formats. ) SO I CHANGED KEYFIELD ACCORDING TO PF SO ITS WORKING BUT AFTER ADDING 3 FILES ITS SAYING SAME ERROR . I DONT KNOW I NEW IN AS400 PLLZ HELP ME I HAVE ONE MORE QUE. CANT BE USE DIFFERENT KEYFIELD (NOT ACCORDING TO PF) IN NON JOIN LOGICAL FILE.
Write a CL program which will run a batch job at 1 am every night
what is the function of rlu ?