Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Calling a Batch Program from a online CICS program

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
Avinash_Gupta

New User


Joined: 11 May 2005
Posts: 26
Location: Hyderabad

PostPosted: Fri Apr 07, 2006 6:12 pm    Post subject: Calling a Batch Program from a online CICS program
Reply with quote

Hi,

I want to know if there exists a mechanism to call a BATCH JOB from a CICS program. Also I am aware that we can write a whole set of JCL statements and it can be submitted from online program. But in my case, I already have a batch JOB that needs to be submitted from the online CICS program (may be by invoking a Function Key).
Back to top
View user's profile Send private message

martin9

Active User


Joined: 01 Mar 2006
Posts: 290
Location: Basel, Switzerland

PostPosted: Fri Apr 07, 2006 6:53 pm    Post subject:
Reply with quote

hy Avinash_Gupta,

yes.
use the cics commands
SPOOLOPEN
SPOOLWRITE
SPOOLCLOSE
you have to choose the internal reader as output destination,
the jcl you pass will be executed immediately.

martin9
Back to top
View user's profile Send private message
Avinash_Gupta

New User


Joined: 11 May 2005
Posts: 26
Location: Hyderabad

PostPosted: Tue May 02, 2006 6:33 pm    Post subject: Re: Calling a Batch Program from a online CICS program
Reply with quote

Hi,

We are trying to generate the whole job by writing the JCL statements. Does the internal reader concept come in it too?? Also could you please explain the concept of internal reader.

If we are generating a set of job statements in a program the JCL that is getting generated should be written in a File or is it directly executed in the spool at runtime?

And can you give us an example of any batch job being submitted from online program??

Thank you.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts CICS EZASOKET CONNECT using DNS name ankit.jain CICS 1 Tue Jan 16, 2018 7:24 pm
No new posts CICS web service from DB2 Triggers or... kiranprasad DB2 1 Wed Dec 20, 2017 11:10 am
No new posts The same REXX program doesnt work for... jackzhang75 CLIST & REXX 5 Wed Dec 06, 2017 2:51 am
No new posts Is CICS BMS logic on z/OS different ... Andi1982 CICS 2 Fri Dec 01, 2017 1:56 pm
No new posts CA Intertest Batch 555shanth CA Products 0 Tue Nov 28, 2017 11:10 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us