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 |
how do I do concatenation in rpg iv, like I do in cl?
Can a indexed file be accessed in arrival sequence in RPG?
what is estimation? and what is the level identifier parameter in PF?
wat is curser?? and its types???
How to find d key field of a pf that doesn’t have source physical file?
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.
How can we receive values from a called procedure in CL?
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?
what is commitment control?explain about it?
Anybody can explain the difference between SFLCLR & SFLINZ?
how can an indexed file be used as arrival sequence in RPG?
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?