Answer Posted / narendra
There are many ways to retrieve the value of RRN in RPG. One way is to use the INFDS (File information data structure) and in data structure define the RRN from pos 397 to 400.
Another way is to use the Keyword RECNO(RRN) while defining the file in the F Spec.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How can we override a file during runtime in rpg?
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 rpg system?
How Chain operation copies the record's data to the input buffer for the program?
what are the key words you must use when using a subfile?
what is the procedure and explain about real time scenario.
write an RPG program to calculate the marks of 5 students (A,B, C, D, E)in 3 different subjects (eng, math, sci) an display on the screen
how do I preserve and clean the array?
What is difference between bind by copy and bind by reference?
What is the purpose of record level identifier?
how can I tell when to replace the array?
how do I declare a minor?
Interviewer asked me write down DDS for load all subfile .can anybody write dds
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...........
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...?