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 |
1.find most occurrences of a character. for exm: input:aaabbbbdddddyyy output: d 5 times how can i get that?
Can an indexed file be accessed in arrival sequence in RPG?
can anybody help me to solve this problem. the program that i m checking display error message saying "Record format for file AJDSPFFD does not match model file and decimal error. how to solve this problem. The AJDSPFFD is snapshot the AJTLOG that is the audit trail list.
when will come session device error?
how to retrieve particular field records from a physical file,say i have a physical file called 'employee' in it i have to retrieve the records of a field 'admin' present in pf 'employee' using rpg,but i should not use logical file or openquery file.
I want to add 10 days in current date. how it is possible in CL program...?
Please tell me how to read the records from a file with load an array of size with error conditions(The logic answer for this question is ARR is array of 99 elements Z-ADD 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN99 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO).So,Please give me the complete of this code.
what is importance of 'MAPFLD' IN OPNQRYF FILE ?
WHAT IS MONMSG IDENTIFIER FOR STRTCPFTP command IN cl (as/400)?
what is plat file?
how we retrieve records without using key field (ex:name) from Physical File through RPG in as/400?
Anybody know the difference of primary file and full procedural file