Mention the option used in the CICS READ command to gain
accessibility directly to the file I/O area.
Answers were Sorted based on User's Feedback
Answer / rijith.k
SET ADDRESS is the option.. correct me if i am wrong
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / 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 |
Which of the following commands, when issued by 2 different programs running at the same time, will prevent simultaneous use of resource 'SINGLE'?
I just want to ask why does the variable I passed in a dclgen of sql that has a data type of varchar which has a maximum length is 250 is truncated,, Here is the code.. DCLGEN of rsauud01 table 01 dataarea 43 data-area-len pic s9(4). 43 data-area-text pic x(250). MYVARIABLE. 01 DATAAREA1 pic x(250). move 250 to data-area-len of dataarea of rsauud01 MOVE DATA-AREA1 TO data-area-text of dataarea of rsauud01 --- but it is always trucated everytime I insert it in the table by the way it is a cobol-cics program
Mention the option (along with argument type) used in a CICS command to retrieve the response code
How to make protected field in BMS invisible through application program?
How many ways to share information between different CICS programs?
Can multiple CICS regions exist under one O/S?
What CICS facilities can you use to save data between the transactions?
How do you set the MDT option to ?ON? status, even if data is not entered?
Explain the difference between a physical bms mapset and a logical bms mapset?
How to import the cics code for updations? what are steps do we need follow for execution again after modification? plz any body help me to know
I want to know what exactly the STOPPER field does with example. Please help.
where we can declare the files in fct and pct and ppt and rct pls give clear structure