How can read PF in reverse order (end to start) in CL pgm..
Answer Posted / suresh
Since the requirement is to Read from end to start, the
parameter *END should be provided to Position.
The statement should look like:
POSDBF OPNID(file name) position(*END)
| Is This Answer Correct ? | 16 Yes | 15 No |
Post New Answer View All Answers
how can I tell when to replace the array?
Explain mdt?
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...
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?
What is the purpose of record level identifier?
what was the robotech rpg?
How would display prime numbers using CL program?
what is the necessary keyword needed to scroll subfile records?
how does the rpg element work?
What are the types of identifiers?
what are the key words you must use when using a subfile?
How can we override a file during runtime in rpg?
If my rpg program has a date field, what extra care I have to take while compiling that rpg program? If the file is keyed and I have declared the file as well as key list properly in my program. Still am getting an error message like "chain/reade operation is not allowed" what may be the case?
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...........
can anybody help me to solve this problem. the program that i m checking display error message saying "Record format for file AJDSPFFD does not match model file and decimal error. how to solve this problem. The AJDSPFFD is snapshot the AJTLOG that is the audit trail list.