Page 1 of 1

Triggering batch job from online transaction..

PostPosted: Tue Feb 12, 2013 2:08 am
by naggarwal6
Hey All,
Can someone help me in explaining as to how can i trigger a batch job/jcl thru an online transaction? Do i need to make an entry in some CICS table(PPT etc for example) or do i need to handle this in the code itself ?

Thanks in Advance
Navi

Re: Triggering batch job from online transaction..

PostPosted: Tue Feb 12, 2013 2:20 am
by Robert Sample
You can SUBMIT a batch job from CICS, but what do you mean by "trigger"?

Re: Triggering batch job from online transaction..

PostPosted: Tue Feb 12, 2013 2:25 am
by naggarwal6
Yes by trigger i mean the same as submit..

Re: Triggering batch job from online transaction..

PostPosted: Tue Feb 12, 2013 6:23 am
by Robert Sample
The typical way is to define a TD Queue that points to the internal reader. Your program writes 80-byte records to the TDQ, which submits the job. Many CICS regions already have such a TDQ defined but only someone working at your site could tell you whether one is defined and the name if so for the region you are using.