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 / sbakshi4

useing below query:

select rrn(a),a.* from Lib_name/File_name a

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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.

5434


how do I declare a minor?

720


how does the rpg element work?

725


How to declare the pull button in AS/400..

1886


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?

515






What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?

2521


1.Load an runtime array of length 99 from the pf and you want to handle all the possible errors?

2378


How to call one program from another program in RPG? please help me with the code

1268


How can we override a file during runtime in rpg?

692


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.

761


which program rpg or cl is efficent to update a transaction onto a database file and why ?

750


what is the rpg system?

673


can you debug ile rpg program using isdb?

743


write an RPG program to calculate the marks of 5 students (A,B, C, D, E)in 3 different subjects (eng, math, sci) an display on the screen

835


how can I tell when to replace the array?

708