Skip to main content

Submittting JCL from CICS

3 replies [Last post]
pcs305's picture
Joined: 2006-03-06

Submitting batch jobs from CICS. This program sends JCL to JES2 queues using the CICS SPOOL interface.

It submits JCL information from a table built in working-storage, each entry is 80 bytes and consists of a JCL statement.

Contributed by: Real Longchamps Longchamps Informatique Inc

jclsend.txt4.28 KB
Joined: 2008-07-22

thanks for adding me to this comunity

Joined: 2009-03-23
Issue in Submitting JCL from CICS

Hi everybody
Finally I am in a forum exclusively for CICS.
Well I have an issue with the Submission of jcl from CICS.I have used the code above attached.But I am unable to see the job submission in the spool.I have changed the JOB card in the code given above.I have substituted the NODE ID of the above code with the SYSTEM ID by using SAREA comment

   Status  Options       
      ISPF Status        
 Command ===>            
  User ID . : BMXSMG     
  Time. . . : 19:26      
  Terminal. : 3278       
  Screen. . : 1          
  Language. : ENGLISH    
  Appl ID . : XXX        
  TSO logon : XXXXXXX    
  TSO prefix: XXXXXX     
  System ID : ADS02      
  MVS acct. : XXX-XXX-   
  Release . : ISPF 5.9   
  F1=Help     F2=Split   

Please tell me where I am going wrong and how to see the JOB which is submitted by the transaction.

pcs305's picture
Joined: 2006-03-06
re: Issue in Submitting JCL from CICS

Welcome Samrat,

The NODE-ID in this case is not the System ID.
What you need is the JES NODE ID for the system you will use to run the JCL submitted from CICS. I cannot think of a way to display the JES NODE-ID. What you will have to do is ask the z/OS Systems programmer to give you the JES NODE ID.


Warning: INSERT command denied to user 'dbo401406598'@'' for table 'watchdog' query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:12:\"user warning\";s:8:\"%message\";s:382:\"INSERT command denied to user 'dbo401406598'@'' for table 'accesslog'\nquery: INSERT INTO accesslog (title, path, url, hostname, uid, sid, timer, timestamp) values('Submittting JCL from CICS', 'node/28', '', '', 0, 'a9b65cef26191768dff1d54ffe2c0a37', 233, 1582440103)\";s:5:\"%file\";s:78:\"/homepages/10/d92055197/htdocs/cicsworld2/modules/statistics/statistics.module\";s:5:\"%lin in /homepages/10/d92055197/htdocs/cicsworld2/includes/ on line 135