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

Checking CICS TRAN from JCL


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
cma rajith

New User


Joined: 28 May 2008
Posts: 30
Location: India

PostPosted: Fri Nov 27, 2009 5:03 pm
Reply with quote

Hello,

Is it possible to check the status of a CICS transaction through a JCL and if required can we change the status from enabled to disable orviceversa.
Can anyone please throw some light on this!!!

Thanks,
Ceema
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Fri Nov 27, 2009 5:10 pm
Reply with quote

/RANT ON
Once more let us clarify exactly what JCL is.

it is Job Control Language.

By itself it does nothing. It is used to invoke the chosen program and to define which datasets are to be used by the DD names associated with the chosen program.

JCL does not have magical powers that solve all problems, JCL is merely the vehicule for telling the processor which program you want it to execute.
/RANT OFF

So, if you might just care to tell us which program you wish the JCL to execute, we might be able to help you
Back to top
View user's profile Send private message
cma rajith

New User


Joined: 28 May 2008
Posts: 30
Location: India

PostPosted: Fri Nov 27, 2009 5:27 pm
Reply with quote

Hi,

I want to check through Job Control Language (As it's batch) can we check a CICS region(online), and a TRANsaction running in that region.I 'm not sure of any programs /utilities which we can use for this.Plz help!!

Thanks,
Ceema.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8697
Location: Dubuque, Iowa, USA

PostPosted: Fri Nov 27, 2009 5:52 pm
Reply with quote

As your question is stated, the answer is no. JCL does nothing but execute programs and that is all it does. JCL cannot check anything, cannot read a file, cannot write a file -- JCL does nothing but execute programs. Those programs executed by JCL can read files, write files, and so forth -- but not JCL.

Now, if you had wanted to execute a program to do what you asked, CICS supports application programming interfaces that allow batch programs to do things with CICS. You would need to find the CICS manuals for your version of CICS and read up on the interfaces.
Back to top
View user's profile Send private message
cma rajith

New User


Joined: 28 May 2008
Posts: 30
Location: India

PostPosted: Tue Dec 01, 2009 12:57 pm
Reply with quote

Hi Robert,

Thanks for the detailed info.

CICS Transaction Server Version 3.1.0 is the one we are using. Could you please help me to guide on finding the program/utility with which through a JCL I can check about the status of a cics transaction.

Ceema.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Tue Dec 01, 2009 1:09 pm
Reply with quote

Quote:
which through a JCL I can

as your question is stated, there is no solution.

is there a program or utility which thru batch I can....
or does anyone have the JCL for a JOB that would....

will admit that you tried.

Here is a list of CICS documents
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8697
Location: Dubuque, Iowa, USA

PostPosted: Tue Dec 01, 2009 4:28 pm
Reply with quote

Through JCL, it cannot be done. Through a program running as a batch job, it can. Our shop has an internally written program that runs in batch. Given a CICS region name, it can open/enable or close/disable files as well as enable or disable transactions -- so I know a program can do this. However, since this is an internally developed program, it is not available to others.

Find the CICS manuals for your version of CICS and research EXCI. This interface is designed to allow access to CICS from batch programs (which are executed by JCL).
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts Calling an Open C library function in... CICS 1
No new posts How to 'Ping' a CICS region in JCL CICS 2
No new posts Parallelization in CICS to reduce res... CICS 4
No new posts How to avoid duplicating a CICS Web S... CICS 0
Search our Forums:

Back to Top