Can we access extra partition TDQ from Batch?

Customer Information Control System. Middleware and MQ Series.
Post Reply
Harshit Desai
New Member
Posts: 7
Joined: Sat Sep 06, 2014 9:16 pm

Can we access extra partition TDQ from Batch?

Post by Harshit Desai »

Hi,

Can we access extra partition TDQ from Batch?
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1895
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: Can we access extra partition TDQ from Batch?

Post by Robert Sample »

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.
Harshit Desai
New Member
Posts: 7
Joined: Sat Sep 06, 2014 9:16 pm

Re: Can we access extra partition TDQ from Batch?

Post by Harshit Desai »

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?
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1895
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: Can we access extra partition TDQ from Batch?

Post by Robert Sample »

but if I want to read a given queue using a separate cobol program, is that doable and actually advisable?
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).
John Knutson
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?

Post by John Knutson »

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
Harshit Desai
New Member
Posts: 7
Joined: Sat Sep 06, 2014 9:16 pm

Re: Can we access extra partition TDQ from Batch?

Post by Harshit Desai »

Thanks John.

If you could please direct me to a link to read more about CSSL and CSMT, that will be a great help.
nicc
Global Moderator
Global Moderator
Posts: 691
Joined: Wed Apr 23, 2014 8:45 pm

Re: Can we access extra partition TDQ from Batch?

Post by nicc »

The various CICS manuals
Regards
Nic
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1895
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: Can we access extra partition TDQ from Batch?

Post by Robert Sample »

In the CICS bookshelf for your version of CICS, look at the CICS Supplied Transactions manual.
Post Reply

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

Register

Sign in

Return to “CICS, Middleware and MQ Series.”