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


Please Help Members By Posting Answers For Below Questions

define the purpose of the *bcat function?

914


writing an sql statement from selecting records from two files using single statement and nested select statement.

644


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

595


If I want to execute Sftp commands(LS & GET) stored in Physical file from CL program automatically...Can u Plz tell me how can I do this?...How the script will look?? THANX FOR NY HELP...

2184


what is the difference between normal upddta to pf and updating using dfu program?

769






Difference Between Call & Sbmjob?

778


what is the favicon.ico request that my site receives now and then?

646


What is dynslt?

788


how can we run a batch job?

735


if we tried to move year part of *iso date into a field of length 3, what will happen ?

657


how can you detect and handle a record lock situation?

1219


which are the relational operators in rpg?

677


Difference Between Ca & Cf?

704


what is a keyed physical file?

1005


what are various techniques to pass parameters from one program to another?

1049