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 ?    5 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 can you determine the number of characters in a variable?

2 Answers  


1. I have2 records in a PF. READ PF DO DSPLY EMPNO RETRN DSPLY EMPNO ENDDO What was the output 2. SETON LR vs RETURN 3. Primary File 4. How to delete a deleted spaces 5. How to read a PF in reverse order in CL 6. I have a object in Lib A, B and C. But it shows in D Lib..Why? 7.

4 Answers   HCL,


Can we trigger an rpg program which has user interaction with display file when updating a file using the command ADDPFTRG?

2 Answers  


How can we make use of SETLL operation in CL?

10 Answers  


HI, 1: WHAT IS THE FUNCTION OF %KDS?WITH PROGRAMMING CODES EXAMPLE 2: WHAT IS THE FUNCTION OF Z-ADD AND Z-SUB ? WITH PROGRAMMING CODES EXAMPLE

1 Answers   IBM,






How can we access Interactive job LDA in Batch Job?. and How we can access a file in interactive QTEMP lib in Batch job?.

4 Answers   IBM,


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

5 Answers  


two types of read performed in dataqueue?????

4 Answers   CTS,


How can read PF in reverse order (end to start) in CL pgm..

8 Answers   TCS,


Q1.How we can copy the data of file one session to another session? Q2.how we can execute a loop infinitely in AS/400 coding? Q3.In ALDON tool,multitask is posible on a perticular object by the user?

6 Answers   CSC,


How Commitment and Roll back control is used in as400, explain with real time senario ???

2 Answers   HSBC, Acolite,


What is the difference between RPG/400 and RPG4

1 Answers   HCL,






Categories