Can we access extra partition TDQ from Batch?
-
- New Member
- Posts: 7
- Joined: Sat Sep 06, 2014 9:16 pm
- Robert Sample
- Global Moderator
- Posts: 1903
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: Can we access extra partition TDQ from Batch?
The manual CICS System Definition Guide provides you the answer:
CICS Transient data extrapartition data sets are sequential files, normally on disk or tape; each queue can be used either to send data outside the CICS region or to receive data from outside the region.
-
- New Member
- Posts: 7
- Joined: Sat Sep 06, 2014 9:16 pm
Re: Can we access extra partition TDQ from Batch?
Thanks Robert. I did read this but could not comprehend it correctly. As per it "each queue can be used either to send data outside the CICS region or to receive data from outside the region" but if I want to read a given queue using a separate cobol program, is that doable and actually advisable?
- Robert Sample
- Global Moderator
- Posts: 1903
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: Can we access extra partition TDQ from Batch?
A TD queue is a one-way pipe: you can write to it in CICS and read it in batch, or write to it in batch and read it in CICS. There are some things that can complicate the usage (when are the buffers actually written, for example) but in general using them is very doable. Whether or not they are advisable depends upon the application -- some applications absolutely require them, some applications can use them if available, and some applications don't use them (and hence it would not be a good idea to change the application to use them).but if I want to read a given queue using a separate cobol program, is that doable and actually advisable?
-
- New Member
- Posts: 5
- Joined: Tue Feb 25, 2014 5:14 am
- Location: IBM Hursley
- Contact:
Re: Can we access extra partition TDQ from Batch?
A good example of extra TD usage are the CICS log queues like CSSL and CSMT (if memory serves) which are usually mapped to extrapartition queues for processing by CICS batch utilities.
John Knutson - CICS Market Enablement
CICS social media aggregator: http://www-304.ibm.com/social/aggregator/cics
CICS social media aggregator: http://www-304.ibm.com/social/aggregator/cics
-
- New Member
- Posts: 7
- Joined: Sat Sep 06, 2014 9:16 pm
Re: Can we access extra partition TDQ from Batch?
Thanks John.
If you could please direct me to a link to read more about CSSL and CSMT, that will be a great help.
If you could please direct me to a link to read more about CSSL and CSMT, that will be a great help.
- Robert Sample
- Global Moderator
- Posts: 1903
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: Can we access extra partition TDQ from Batch?
In the CICS bookshelf for your version of CICS, look at the CICS Supplied Transactions manual.
Create an account or sign in to join the discussion
You need to be a member in order to post a reply
Create an account
Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute