Page 1 of 1

Reading TSQ through Batch Job

PostPosted: Thu May 22, 2008 12:12 am
by kamal_dham
HI

I have a requirement to save data in a TSQ through an Online CICS program and then read the data saved from a batch job.
Let me know if its possible to do it.

Thanks,
Kamal

Re: Reading TSQ through Batch Job

PostPosted: Thu May 22, 2008 8:42 am
by dick scherrer
Hello Kamal and welcome to the forums,

This answer was posted to a similar question:
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,


As mentioned, you might have a problem if the cics region was taken down before the batch job ran.

Re: Reading TSQ through Batch Job

PostPosted: Mon Jun 02, 2008 8:24 am
by lee dawn
You might also want to review www.batchcics.com 8-)