|
|
| Author |
Message |
pprulz
New User
Joined: 15 Jan 2008 Posts: 2 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 |
|
 |
References
|
Posted: Thu May 22, 2008 1:19 am Post subject: Re: reading TSQ using batch job |
 |
|
|
 |
Bill O'Boyle
Active User
Joined: 14 Jan 2008 Posts: 270 Location: Orlando, FL, 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: 162
|
|
|
|
pprulz.
3rd party software >> www.batchcics.com
provides ability to run CICS transactions from batch cobol, including
read/write/update/delete TSQ, TDQ, and VSAM files.
regards,
Earl |
|
| Back to top |
|
 |
|
|