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



I had ruestion in one of the interview..... If 1 file has more than 1 member and i want to use the..

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

I had ruestion in one of the interview..... If 1 file has more than 1 member and i want to use the..

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

I had ruestion in one of the interview..... If 1 file has more than 1 member and i want to use the..

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

Post New Answer

More IBM AS400 AllOther Interview Questions

define subsystem?

1 Answers   IBM,


how to see the error messages for each command in cl?

2 Answers   CGI,


Can level check error occur if we do chgpf?

0 Answers  


is it possible, in the same cgi, to run more than one gethtml or gethtmlifs?

0 Answers   IBM,


How to declare the length of emp no in the physilcal file and the mandatory length is 6 i.e. Emp No should be numeric, mandatory and fill all the 6 places

2 Answers  






What is a Member?

1 Answers  


Difference Between Ca & Cf?

0 Answers   IBM,


What is Sub-System?

1 Answers  


where will control be passed after the execution of the *pssr subroutine if the factor2 of the endsr is blank ?

1 Answers   IBM,


What is the function of RJE Conversion Utility?

1 Answers  


Q.Hi All friends, I have one Question, I have three fields in display file SUP LOT, ISSUED to Prod and Line Grp. Field SUP LOT is mentioned in one field reference file WRSLT and key field as a key field LP.Fields ISSUED to PROD,Line GRP are mentioned in the another Field reference file WMDTF. So I want to read SUP LOT on the basis of key field LP from the first file WFSLTand then i want ot read another two fields ISSUED to DATE and LINE GRP from second file on the basis of SUP LOT, which i got from first file.Now i want to display these fields in the display file DSPWMMS. but Condition is that 'Supplier Lot,ISSUED to Prod and Line Grp will not be shown if their respective fields are blanks/Zero. Please Let me Know coding part of this senerio and what would be coding for display file to now shown fields if fields are blanks/zero. My mob. no. is 9836300345. Please reply me asap.

1 Answers   IBM,


How to read 2 positions at a time in a data area? I have created a data area of length and i have to read the values of the data area like 91-92,93-94 at a time up till 100

3 Answers  


Categories