What is the OPEN and CLOSE accesspath?
Answers were Sorted based on User's Feedback
Answer / abhay sharma
OPEN data path is the path which can be used by all the
files used in the PGM, we can think Open data path as a
bridge B/W File and Program.
This is the attribute of file which we specify when compile
the source this will ensure whether file will use ODP in
the program or will create seprate.
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / swetha p rao
As far as i know ,there are two types of access paths
Arrival Sequence and Keyed sequence access paths.
OPEN and CLOSE are two opcodes used in file handling.
Please correct me if i am wrong.
| Is This Answer Correct ? | 8 Yes | 4 No |
Answer / saravan
There are threee types of accesspath.
1)Arrival
2)Keyed
3)Maintenance - (i) *IMMED - Immediate no duplicates.
(ii) *DLY - Even after closing, access path
info recorded and reactivated again.
(iii) *REBLD - Details from *DLY used to
rebuild the acess path.
OPEN data path is the path which can be used by all the
files in a PGM, Open data path is like a
bridge between file and Program.
This is the attribute of file which we specify when compile
the source this will ensure whether file will use ODP in
the program or will create seprate.
| Is This Answer Correct ? | 1 Yes | 3 No |
what built in function can be used with SETLL.If you want to check whether the search argument is successful or not? Please give me answer with example?
1.How to read a subfile in out put mode? 2.what are the keywords used to share same file? 3.using composite key which rpg code used?
How do you know if a record exists without doing a READ and CHAIN?
if i have three programs progA,progB and progC .now i call progB from progA. but the progB does not exist . now i want to call progC instead of starting dump. how can we achieve this.
1.Are there any errors in the following statement?If so then list them.DTAARA is a data area having a field EMP # and EMPNO is a field in the file EMPPF.Which has one record. READ EMPPF IF %FOUND(EMPPF) IN DTAARA EVAL EMP#=EMPNO OUT DTAARA ENDIF
What is significance of a file designated as a Primary file in Rpg400 program....also what's use of secoundry file
Can somebody tell me that, Is it possible to read all the member of PF without OVRDBF?
Hi, Can anybody give me real sinario for SFLRCDNBR?with example?
How to set on/off a group of indicators in a single statement?
How do you code file / field renames in ILE RPG?
wat is meant by hidden field , why it is used?
i)What is the command to lock a file in a program ii)2. Can you get a level check error in a CL program