What is the OPEN and CLOSE accesspath?

Answers were Sorted based on User's Feedback



What is the OPEN and CLOSE accesspath?..

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

What is the OPEN and CLOSE accesspath?..

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

What is the OPEN and CLOSE accesspath?..

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

Post New Answer

More RPG400 Interview Questions

how do I do concatenation in rpg iv, like I do in cl?

1 Answers   IBM,


Can a indexed file be accessed in arrival sequence in RPG?

1 Answers  


what is estimation? and what is the level identifier parameter in PF?

3 Answers   TCS,


wat is curser?? and its types???

4 Answers   HSBC,


How to find d key field of a pf that doesn’t have source physical file?

2 Answers  






If the last record of a file has been read, and the next operation on that file is a READ operation, what will be the values of the input fields for that file? A. They will be blank and/or zero. B. They will be null. C. They will equal the values of the first record in the file. D. They will equal the values of the last record read.

3 Answers  


How can we receive values from a called procedure in CL?

1 Answers   IBM, NTT Data,


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?

3 Answers   HSBC,


what is commitment control?explain about it?

1 Answers   HSBC,


Anybody can explain the difference between SFLCLR & SFLINZ?

7 Answers  


how can an indexed file be used as arrival sequence in RPG?

3 Answers   IBM,


1.Suppose my file has 10 fields and I want to make the 2nd field Zeros in all records. And assume I have millions of records and I dont want to read each record and update the desired field with 0. Any other way to do this in one step operation? 2. Assume my file has 100 records and I want to see only first 10 records. Is this possible through LF? 3.I have 3 jobs A B and C. I want to submit B after successful completion of A and want to submit C after successful completion of B. Without using job scheduler or job queue, how can i do that through CL program? 4.What is difference between Bind by copy and bind by reference?

4 Answers   Virtusa,


Categories