how can you check for a records existence without causing and i/o (chain/read)?
Answer / kanckan singh
With the help of File Information Data Structure, we can check existence of records in a physical file. The code is described below:
In File description continuation line (IPFK),
KINFDS RCDS
IRCDS DS
I*RECORD
#RCDS
with the above code we can check the existence of records in a file without causing I/O operation.
| Is This Answer Correct ? | 0 Yes | 0 No |
How to position the cursor on a display file at a desired location.
Is it possible to add an keyfield or field to an Physical file without changing its file identifier. Example : - Say I have an existing physical file which is being used in 5 programs. Now I want to add an additional Keyfield or an field to it and I don't want to recompile the programs.
Difference between NOPASS & OMIT?
Distinguish between logical file and physical file?
Q1. How to use signature in service program and ILE.? Q2.what is use of signature and binder language and what is the relation between them?
What is the use of OVRDBF ?
1. There is a file called Month. Month has 12 members called Jan, Feb, ..., Dec. How to design a rpg code which can access any member and show its content. (User can ask for any member when required)?
what is elastic and non elastic subrile?
what is rpg fixed logic cycle?
How to genarate the reports?
What is Multi-format logical file?
Can you summarize the steps I have to go through in writing my first cgi?