View previous topic :: View next topic
|
Author |
Message |
cma rajith
New User
Joined: 28 May 2008 Posts: 30 Location: India
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
/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 |
|
|
cma rajith
New User
Joined: 28 May 2008 Posts: 30 Location: India
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
cma rajith
New User
Joined: 28 May 2008 Posts: 30 Location: India
|
|
|
|
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 |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
|