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
What are the common tables in cics and their usage?
What are the cics transactions?
Define ceci?
cics command level is?
How many ways are there for initiating a transaction?
Can you explain exec cics handle condition command?
Give certain situations where NEWCOPY is obligatory?
Explain the difference between and exec cics xctl and exec cics start command?
Explain the difference between a package and a plan.
Whenever a cics program goes through a compilation process, there is always some extra code that is added to the program. Where exactly does this new piece of code go to and what is it termed as ?
Explain the thress bms options?
Explain 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?
What is the procedure to read a statement from tsq?
What is the pcp in the cics?
Define task work area?