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
do you use message subfiles? What are the necessary keywords required coding a message subfile?
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.
what is kids-rpg?
How to call one program from another program in RPG? please help me with the code
which program rpg or cl is efficent to update a transaction onto a database file and why ?
Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg
what happens when sflsiz = sflpag? What are the advantages and disadvantages?
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...
How to select highest score of each subject or how to select highest income of every month?
how do I declare a table or array in rpg iv?
how do I preserve and clean the array?
What are the types of identifiers?
How to handle duplicate error handling in RPG?
what is the difference between do while and do until?
explain sflclr, sflend, sfldlt, and sflcsrrrn?