IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

reading TSQ using batch job


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
pprulz

New User


Joined: 15 Jan 2008
Posts: 6
Location: India

PostPosted: Thu May 22, 2008 1:19 am
Reply with quote

Hi,

Can we read TSQ using batch jobs? if yes then please tell me how can we do that

Thanks in advance,

pprulz
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Thu May 22, 2008 1:59 am
Reply with quote

You would need to write a Batch-EXCI program, which issues an EXCI LINK with a commarea, to a previously written or newly written CICS program in the target region, which issues a READQ TS (item 1 I'm assuming), loads the TSQ item 1 content into the DFHCOMMAREA, followed by a CICS RETURN back to the Batch-EXCI program and you're done! (Wow, I'm out of breath!).

What would happen if CICS were down?

This doesn't sound like a viable plan.

You need to come up with a different strategy.

HTH....

Regards,

Bill
Back to top
View user's profile Send private message
Earl Haigh

Active User


Joined: 25 Jul 2006
Posts: 475

PostPosted: Wed May 28, 2008 7:30 pm
Reply with quote

pprulz.

3rd party software >> Use [URL] BBCode for External Links

provides ability to run CICS transactions from batch cobol, including
read/write/update/delete TSQ, TDQ, and VSAM files.


regards,
Earl
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts How to get a stack trace on a looping... ABENDS & Debugging 5
No new posts Calling Java method from batch COBOL ... COBOL Programming 5
No new posts Help in Automating Batch JCL jobs mon... JCL & VSAM 3
No new posts Reading dataset in Python - New Line ... All Other Mainframe Topics 22
No new posts Find the size of a PS file before rea... COBOL Programming 13
Search our Forums:

Back to Top