1) How to retrieve RRN through RPG ?
2) How to pass parameter by value ?
3) How to trap the error through the RPG/400
Answer Posted / kumar
1) using CHAIN OR SETLL
EX : FSAMP IF E DISK
C 5 CHAIN SAMP
FLD DSPLY
EVAL *INLR=*ON
2) Using call and parm
3)Indicators, infds(file information datastructure) *pssr
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
How many program bind in one module....
How to create a login screen using a command instead of display file.... intention is to get a password field on a command..... how do you achieve this...
what is file information data structure?
What is difference between bind by copy and bind by reference?
How to declare the pull button in AS/400..
How to select highest score of each subject or how to select highest income of every month?
give an eg of ACQ-(ACQUIRE),BIT OFF,BIT ON,DEALLOC,DUMP,FEOD,FORCE,MHHZO,MHLZO,MHLLZO,MLHZO,REL,RESET,TESTZ,TESTB,TESTN----GIVE SMALL EXAMPLE TO THE OPCODES...TO UNDERSTAND FUNCTIONING...........
Interviewer asked me write down DDS for load all subfile .can anybody write dds
how do I declare a minor?
how can I tell when to replace the array?
How can we override a file during runtime in rpg?
If my rpg program has a date field, what extra care I have to take while compiling that rpg program? If the file is keyed and I have declared the file as well as key list properly in my program. Still am getting an error message like "chain/reade operation is not allowed" what may be the case?
What is a record lock error?
How Chain operation copies the record's data to the input buffer for the program?
what is an online rpg?