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
What are the types of data structure in as400?
In Which Specs Arrays, Tables & Constants Are Defined?
what is *inzsr used for?
Can you summarize the steps I have to go through in writing my first cgi?
what is the necessary keyword for non-join logical file?
how to write code for singlepage in sqlrpgle with update ?
what are the different types of variables available in cl?
How to reverse the string in rpg
Which command is used to replace CDUP command in FTP IF i WANT TO USE SFTP?
why is the declare cursor statement is used for?
What is dynslt?
Hi,Can any body give the code for the below mentioned quetion.?Im trying to get coding in with easily inderstanding.Plese give me the coding for this? 1.How would you achieve this requirement with out using RPG/RPGLE pgm,but by using only CL?Read a database file and display file contents on the screen when enter key pressed the next record should be displayed on screen.When the last record is reached or when F3 key is pressed the program should exit if the file is empty,a message should be displayed indicate that there are no records to display. Database file Name=EMPDBF Fields in EMPDBF to be displayed on screen Employee Number- EMPNUM(5,0) Employee Name- EMPNAM(30,A) Employee Address-EMP ADDR(50 A)
what are the different opcodes available in rpg for database access ?
what are the two record formats a subfile contain ?
which are the string manipulation opcodes?