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

what do you mean by SESSION/DEVOCE ERROR?

1 Answers   IBM,


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

2 Answers   Acolite, HSBC,


What will be the value of STRING after line 0106 is executed in the code below? 0101 E* Fromfiletofile..tabnameprnentlenpdatabnamlenpda 0102 E ARR 8 1 0103 ISTRING DS 0104 I 1 8 ARR 0105 C MOVE *BLANK STRING 0106 C MOVEA'ABC' ARR A) 'AAAAAAAA' B) 'BBBBBBBB' C) 'CCCCCCCC' D) 'ABC ' E) ' ABC'

2 Answers  


What is the RPG cycle?

3 Answers   CSC,


am 2010 passed out . can any one tell me which course is good to put 2+fake .guide me

1 Answers  






Can someone tell me tell me what is meant by message wait...?

1 Answers  


IN RLU what are the record level keyword is used?

5 Answers   iGate, TCS,


what is post opcode do

1 Answers   CTS,


what is ment by "MDT"

2 Answers   TCS,


Q:HI friends accually ihave one problem plesase let me know the alternate code of this code. Related field description of code: Add a field, CALvsPRD, "Calendar Day Starts Before/After Production Day" to the parameter set WRKORDER which accepts values 'A' or 'B' o B = Calendar Day Starts Before Production Day o A = Calendar Day Starts After Production Day o Any other value indicates the production and calendar dates are always the same. code: Automatic Execution Of *INZSR Subroutine /Z01 * retrieves WRKORDER field values. /Z01 * Calculate default Production Date and return it to caller. /Z01 * Production date defaults to system date /Z01 C Eval P@Pdate = %DATE() /Z01 * unless Calendar date starts Before PDN(production) date and /Z01 * system time is before PDN Start Time then /Z01 * PDN date is yesterday. /Z01 C If W@CALvsPRD = 'B' and /Z01 C %TIME() < %TIME (W@Strtime) /Z01 C Eval P@Pdate -= %Day(1) /Z01 * unless Calendar date starts After PDN date and /Z01 * system time is *GE PDN(production) Start Time then /Z01 * PDN date is tomorrow. /Z01 C ElseIf W@CALvsPRD = 'A' and W@Strtime > *Zero and /Z01 C %TIME() >= %TIME (W@STrtime) /Z01 C Eval P@Pdate += %Day(1) /Z01 C EndIf /Z01 C Eval *InLr = *On

0 Answers   IBM,


How to declare the more than one file in cl/400.

13 Answers   IBM,


How can a screen field that has changed since the last output operation be detected?

4 Answers   IBM,


Categories