View previous topic :: View next topic
|
Author |
Message |
pprulz
New User
Joined: 15 Jan 2008 Posts: 6 Location: India
|
|
|
|
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 |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
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 |
|
|
Earl Haigh
Active User
Joined: 25 Jul 2006 Posts: 475
|
|
|
|
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 |
|
|
|