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


Please Help Members By Posting Answers For Below Questions

Can you define ppt and what are its uses?

627


Explain how DSECT parameter is used in BMS ?

716


Name the command which is used to release a record on which exclusive control is gained?

578


What are the uses of ppt in cics?

545


With the use of an alternate index, how is a VSAM file accessed?

643






Define temporary storage?

607


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?

605


hi,what is the module? how many modules in mainframe based banking projects

2429


Explain how do you handle errors in cics programs?

550


What is the cics command level?

564


Name some translator and compile options and explain their meaning?

2374


Define exec cics retrieve?

689


Define an aica abend?

618


What is the procedure to solve an ASRA ABEND?

610


Can you define bms?

615