Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Typical RPG Interview questions? 1

Status
Not open for further replies.

PeteAmsterdam

Programmer
Jun 3, 2005
76
US
Please help have an interview tom. haven't had time to study.
 
PeteAmsterdam said:
16. Suppose you have 3 members in a database file.

17. How to read records from all the members
without using CL (OVRDBF) ie it should be handled exclusively in an RPG program?

Use the EXTMBR keyword on the F-spec with the member name coded as a variable. Then you want to process a different member, close the file, change the variable to the new member name, and re-open the file. No CL needed.


Me transmitte sursum, Caledoni!

 

You can use EXTMBR('*ALL') as well and get the current member name in the INFDS.
 
How it went? It went well, but there were no questions like was posted here, but that is OK.

They have one more person to see but the feedback was they 'liked me'. I need them to 'love me'. It is very much like a marriage this interviewing thing.

Wish me luck, my suffering, my Last Record Indicator, my be *ON today!

Pete
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top