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

How to issue a CICS command in Batch environment?


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Johnson_Jiang

New User


Joined: 05 Apr 2007
Posts: 11
Location: China,ShenZhen

PostPosted: Thu Jul 10, 2008 1:22 pm
Reply with quote

Dear all,

I need to submit a CICS command in batch environment through COBOL program or IBM utility. It's come from our client. They ask us to send a CEMT CLOSE FILE command to make sure the files are closed before run a special COBOL batch program.

My query is: How to implement this function in batch environment? Very appreciate if anyone can give me some help on this.
Back to top
View user's profile Send private message
Antonio Barata
Warnings : 1

New User


Joined: 04 Apr 2007
Posts: 37
Location: Lisbon, Portugal

PostPosted: Thu Jul 10, 2008 2:07 pm
Reply with quote

Hi
You have to do it using EXCI.
I think you should talk to your systems support staff, because the process is a little bit long to explain.
You should also take a look at the CICS External Interfaces Guide manual to understand the concept.
The global idea is issuing a CICS LINK command having a COMMAREA that contains the parameters for issuing the command. For that you must include some CICS areas or define them in the Working Storage Program's.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts RACF - Rebuild SETROPTS command which... All Other Mainframe Topics 3
No new posts Using API Gateway from CICS program CICS 0
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Routing command Address SDSF to other... TSO/ISPF 2
No new posts DTL - how to define key with stacked ... TSO/ISPF 3
Search our Forums:

Back to Top