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 |
Explain how do you handle errors in cics programs?
What is BMS?
Why is GETMAIN command needed?? Will program not work if we do not give GETMAIN?
Specify cics transaction initiation process?
In a string " SEMINAR" .Replace "A" by 123. will this replacement will happen ot will it give error? If not , den what will be the output?
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
What is the difference between a physical BMS mapset and a logical BMS mapset?
What is program reentrance?
What do the keywords MAPONLY and DATAONLY mean?
What happens to resources supplied to a transaction when an XCTL command is executed?
Can you have CICS code in a copybook? If yes, what happens during compilation?
If I create a TSQ from one transaction, can I read it from another transaction?