Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Define RCT.

1151


Name at least one of the ways by which a transaction can be terminated?

992


How To Compile The COBOL-BD2-CI CS Programs In Real TIme? Please Give Me the Detailed Description?

6642


Explain the difference between a physical bms mapset and a logical bms mapset?

933


Add a field to screen when what's the flow of impact?

2841


how do you fire a batch job from a cics txn ?

973


Give certain situations where NEWCOPY is obligatory?

1064


What does the 'cebr:cics' transactions do?

965


How can you use dynamic calls in cics?

1003


How many ways are there for initiating a transaction?

993


Name the two types of transient data queues?

1002


How do you use altindxs in batch, cics programs?

990


What is the common work area?

921


Specify cics transaction initiation process?

1014


what is the cics command used to access current date and time?

1080