1.If *HIVAL SETGT is used what opcode is used to read a
record?
A:READ
B:READPE
C:CHAIN
D:READP
2.How to pass numeric parameter to the rpg pgm from the
command line?
3.What keyword is used on the rpg 4 definition
specification to rename a subfile in an externally
definition data structure?

A:RENAME
B;LIKE
C:EXTNAME
D:EXTFLD

Answer Posted / sanjeev

(1)readp
(2) we can pass paramaters through command line

If a numeric A has length 5 and its value is (8)then on
command line we have to type X'00008F'
(3)EXTNAME

Is This Answer Correct ?    13 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

thanks mr.Harshad R Suryawaunshi,i'm new to as400 i think you are telling in rpgile i know only rpg400 if possible can you tell in rpg400

1896


what is program status data structure?

1391


How to handle duplicate error handling in RPG?

1683


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.

756


what was the robotech rpg?

686






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

2521


Please tell me how to read the records from a file with load an array of size with error conditions(The logic answer for this question is ARR is array of 99 elements Z-ADD 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN99 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO).So,Please give me the complete of this code.

2054


can you debug ile rpg program using isdb?

739


what is data area and how it is used in rpg program ?

758


Interviewer asked me write down DDS for load all subfile .can anybody write dds

1022


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

832


what are the key words you must use when using a subfile?

694


if there is a module object , how to find the program object for this module object.Assume the module object name and program object name is not same.

2201


how can you display specific subfile page on the screen in unequal subfile?

676


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?

510