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

1. ReadP
2. Its not advisable to pass numeric parameters from
command line to RPG program as numeric parameters from
command line goes in 15,5 packed format and generally the
data gets corrupted.
3. EXTNAME

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

903


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.

5924


what is kids-rpg?

894


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

1478


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

983


Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg

944


what happens when sflsiz = sflpag? What are the advantages and disadvantages?

943


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...

1517


How to select highest score of each subject or how to select highest income of every month?

1508


how do I declare a table or array in rpg iv?

932


how do I preserve and clean the array?

851


What are the types of identifiers?

770


How to handle duplicate error handling in RPG?

1967


what is the difference between do while and do until?

952


explain sflclr, sflend, sfldlt, and sflcsrrrn?

1084