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
Define RCT.
Name at least one of the ways by which a transaction can be terminated?
How To Compile The COBOL-BD2-CI CS Programs In Real TIme? Please Give Me the Detailed Description?
Explain the difference between a physical bms mapset and a logical bms mapset?
Add a field to screen when what's the flow of impact?
how do you fire a batch job from a cics txn ?
Give certain situations where NEWCOPY is obligatory?
What does the 'cebr:cics' transactions do?
How can you use dynamic calls in cics?
How many ways are there for initiating a transaction?
Name the two types of transient data queues?
How do you use altindxs in batch, cics programs?
What is the common work area?
Specify cics transaction initiation process?
what is the cics command used to access current date and time?