Triggering batch job from online transaction..



Support for CICS/ESA, CICS/TS & Transaction Gateway, CICS Configuration Manager and CICS Performance Analyzer

Triggering batch job from online transaction..

Postby naggarwal6 » Tue Feb 12, 2013 2:08 am

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
naggarwal6
 
Posts: 9
Joined: Thu Dec 27, 2012 7:45 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Triggering batch job from online transaction..

Postby Robert Sample » Tue Feb 12, 2013 2:20 am

You can SUBMIT a batch job from CICS, but what do you mean by "trigger"?
Robert Sample
Global moderator
 
Posts: 3719
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: Triggering batch job from online transaction..

Postby naggarwal6 » Tue Feb 12, 2013 2:25 am

Yes by trigger i mean the same as submit..
naggarwal6
 
Posts: 9
Joined: Thu Dec 27, 2012 7:45 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Triggering batch job from online transaction..

Postby Robert Sample » Tue Feb 12, 2013 6:23 am

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.
Robert Sample
Global moderator
 
Posts: 3719
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times


Return to CICS

 


  • Related topics
    Replies
    Views
    Last post