Mention the option used in the CICS READ command to gain
accessibility directly to the file I/O area.
Answer Posted / nabarun
To gain control directly to the file I/O area we can
declare declare an area in the linkage section as bellow:
eg:
....
LINKAGE SECTION
01 LK-FILE-IOAREA.
02 LK-REC.
03 LK-REC-NAME PIC X(10).
03 LK-REC-ID PIC 9(3).
........
........
PROCEDURE DIVISION.
......
.......
EXEC CICS READ
DATASET('DATASET.TOBE.READ')
SET(ADDRESS OF LK-FILE-IOAREA)
RIDFLD(KEYS)
LENGTH(LEN)
END-EXEC.
......
......
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Can you define ppt and what are its uses?
Explain how DSECT parameter is used in BMS ?
Name the command which is used to release a record on which exclusive control is gained?
What are the uses of ppt in cics?
With the use of an alternate index, how is a VSAM file accessed?
Define temporary storage?
what is the difference between a package and a plan. How does one bind 2 versions of a cics transaction with the same module name in two different cics regions that share the same db2 subsystem?
hi,what is the module? how many modules in mainframe based banking projects
Explain how do you handle errors in cics programs?
What is the cics command level?
Name some translator and compile options and explain their meaning?
Define exec cics retrieve?
Define an aica abend?
What is the procedure to solve an ASRA ABEND?
Can you define bms?