IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

cics-jcl(to run a jcl from cics region)


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
rsshanmugam

New User


Joined: 08 Mar 2005
Posts: 62
Location: Basildon

PostPosted: Tue Mar 08, 2005 7:32 pm
Reply with quote

how to run/initiate a jcl from cics region.


i read ibm redbooks it says u can do i using spool commands but i tried it is not working, can anyone please help me in this regard. icon_exclaim.gif
Back to top
View user's profile Send private message
jayapriya

New User


Joined: 09 Mar 2005
Posts: 1

PostPosted: Wed Mar 09, 2005 6:31 pm
Reply with quote

Pass all the JCL codes to a COBOL variable (should be declare using OCCURS clause) and the write the line one by one to the spool using CICS commands like SPOOLClose SPOOLOpen SPOOLWrite .

for example,

:arrow: [b]EXEC CICS SPOOL WRITE(var-name) END-EXEC.[/b]

var-name is a COBOL host structure containing JCL statements.
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Upgrade CICS TS to 6.2: authorization... CICS 0
No new posts PL/1 SEND CICS MAP first time, attrib... CICS 6
No new posts CICS UCTRAN=NO not working, need syst... CICS 3
No new posts CICS-Db2 connection issue CICS 1
No new posts After newcopy the CICS program user f... CICS 7
Search our Forums:


Back to Top