InterviewSolution
| 1. |
How Can You Check For A Records Existence Without Causing And I/o (chain/read)? |
|
Answer» 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. 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. |
|