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
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 View All Answers
how can a message from a message file appear as a constant on the screen?
what is the difference between udate and the system date?
In Which Specs Arrays, Tables & Constants Are Defined?
how may a cgi control duplicate inputs?
What is dynslt?
what are all the contents of subfile?
what is meant by object lock requests,held locks and locks waiting to be applied(wrkobjlck) why should we apply for locks.Please explain sir.
Can we debug the MSGW JOBS?
hi guys i am new for sqlrpgle, please suggest me good websites and theory and coding. plz plz its very urgent.
can error messages as a result of a comp, range or values keyword be overridden?
can you have multiple key lists for a single file ?
Difference Between Interactive & Batch Job?
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)
define the purpose of the *cat function?
is it possible, in the same cgi, to run more than one gethtml or gethtmlifs?