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
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.
is this a rpg channel?
give an eg of ACQ-(ACQUIRE),BIT OFF,BIT ON,DEALLOC,DUMP,FEOD,FORCE,MHHZO,MHLZO,MHLLZO,MLHZO,REL,RESET,TESTZ,TESTB,TESTN----GIVE SMALL EXAMPLE TO THE OPCODES...TO UNDERSTAND FUNCTIONING...........
How to call one program from another program in RPG? please help me with the code
How do u design a physical file, when you have 2 Unique fields like for eg in A student file student ID and student examination no both are unique
what is the use of sflnxtchg?
what is file information data structure?
When it is desirable to describe files Internally?
do you use message subfiles? What are the necessary keywords required coding a message subfile?
what are the key words you must use when using a subfile?
what was the robotech rpg?
How to write record if no field or the field are different in physical file in rpgle ?
what is program status data structure?
What is the purpose of record level identifier?
Assume 2 users are using the same file and first user updates some record in the file. Will the 2nd user will be able to see the updated record or not?