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

how do you use commitment control in rpg?

992


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

2747


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.

2271


what is the rpg system?

927


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.

2403


do you use message subfiles? What are the necessary keywords required coding a message subfile?

907


what is a rpg?

919


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

2086


what is the use of sflnxtchg?

1025


How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?

1757


is this a rpg channel?

898


what is kids-rpg?

894


what was the robotech rpg?

872


When it is desirable to describe files Internally?

1397


what is the procedure and explain about real time scenario.

1701