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

If we can use SQLRPGLE we can ccreate alias on the member.


I am not sure of other ways other than extmbr, Ovrdbf in
RPG400.may be you can tell me of there any other ways

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are the limitations of cl (compare to rpg) ?

1555


How to reverse a string using RPG?

715


what are different types of substems?

1352


How to reverse the string in rpg

1209


what is sflinz and sflrna?

1018






define a shared access path?

1003


which single rpg opcode performs both setll and reade?

1107


some special characters I key in my html source members show different on my web pages. Why? How can I solve this?

617


which are the relational operators in rpg?

677


What Does 'sr' In Columns 7-8 Of C Specs Mean?

1071


what is message subfile?

1056


what is a program described file in rpg?

1058


how many types of display are available on as/400 for user interaction?

642


what are all the contents of subfile?

999


Pose, there are 100 records in the file.i need to retrieve all the records matching/equal to the particular name field. How can we do the above using search criteria other than using the if cond?

603