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 / naga srinivas.kattula
1)We can use both READP and READPE ..bcz REAP is used to
read the records from bottom to top and READPE reads the
records which are equal to KEY in facor1 from bottom to
top(we get equal records of key value from bottom to top)
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
what is the difference between do while and do until?
what is the use of sflnxtchg?
do you use message subfiles? What are the necessary keywords required coding a message subfile?
How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?
Hi Viewers can any body explain me how to update and ahange the already existed data in physical file using subfile ? please explain me with the code if possible?
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
What is the purpose of record level identifier?
how can you display specific subfile page on the screen in unequal subfile?
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?
how do you use commitment control in rpg?
explain sflclr, sflend, sfldlt, and sflcsrrrn?
what is program status data structure?
Set on command is used for closed all opened files , initialize var and release resource , return cmd is used for return to calling program but my req. Is dnt close opened files and resource must released while doing transactions , how can i do this...?
What is the difference between iter and do?
what is the procedure and explain about real time scenario.