What is the command for reading a record form a TSQ?
Answer Posted / srivani dorbala
EXEC CICS READQ TS
QUEUE('QNAME')
INTO(WS-TSQ-REC)
ITEM(Q-ITEM)
LENGTH(LENGTH OF WS-TSQ-REC)
END-EXEC.
WHERE QNAME IS ANYNAME OF TSQ WHICH SHOULD B 8 CHARACTERS.
WS-TSQ-REC WHICH IS A RECORD DECLARED IN WORKING STORAGE
SECTION AND Q-ITEM IS A WORKING STORAGE VARIABLE WHICH HAS
PIC S9(04) COMP VALUE 0.EVERY TIME THIS ITEM IS INCREASING
BY 1.
IF U HAVE ANY DOUBT, PLEASE SHARE WITH ME.
| Is This Answer Correct ? | 25 Yes | 2 No |
Post New Answer View All Answers
Can dynamic calls be used in CICS?
Kindly specify the pic clause for the any bll cell type of data fields?
If we say that bms length of field = 0, then what does that mean?
What is fset?
what are the six different type of argument values in cobol that can be placed in various options of a cics command?
What is the pic clause for the data type of length option field type of data fields?
Can you explain communication area?
Explain how do you establish a starting position in a browse operation?
How can you access esds files from cics?
Can you define attribute byte?
name the command that is used to dump the main storage areas related to a task?
Can you define cemt?
Name the cics command used to access current date and time?
Explain how and where is the twa size set?
Explain the difference between intra partition tdq and extra partition tdq?