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 / swetha p rao
1. File information Data Strucutre
2. Using Parm
3. Monitor
On-Error *All
Endmon
| Is This Answer Correct ? | 20 Yes | 4 No |
Post New Answer View All Answers
is this a rpg channel?
What is a record lock error?
When we have a file with Duplicate records and I want to read the unique record from the file. For example a file containing Emp Name as 'Ram' and there are 3 entries of it. So how to read a unique record from File?
Explain mdt?
do you use message subfiles? What are the necessary keywords required coding a message subfile?
what is the difference between do while and do until?
How would display prime numbers using CL program?
What is the difference between iter and do?
what happens when sflsiz = sflpag? What are the advantages and disadvantages?
1. What is bound-by-call and bound-by-reference? 2. Where and why is *Nomain used? 3. What are the difficulties faced by programmers when using service programs? 4. Explain the different ways of parsing and compiling XML in iSeries.
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 the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?
How do u design a physical file, when you have 2 Unique fields like for eg in A student file student ID and student examination no both are unique
When it is desirable to describe files Internally?
during execution, an rpg/400 program automatically follows a sequence of operations for each record that is processed. The built-in program cycle includes the following logical steps.