Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Checking CICS TRAN from JCL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Checking CICS TRAN from JCL
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: 8593
Location: Back in jolly old England

PostPosted: Fri Nov 27, 2009 5:10 pm    Post subject:
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    Post subject:
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: 7936
Location: Bellevue, IA

PostPosted: Fri Nov 27, 2009 5:52 pm    Post subject:
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    Post subject: Reply to: Checking CICS TRAN from JCL
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    Post subject:
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: 7936
Location: Bellevue, IA

PostPosted: Tue Dec 01, 2009 4:28 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts CICS to Webservices safexc CICS 1 Sun Jan 22, 2017 5:49 pm
No new posts CICS transaction slow response time vasanthz All Other Mainframe Topics 3 Thu Jan 19, 2017 1:31 am
No new posts INDEPENDENT CICS TS 4.1 MRO REGION UP... Kyle Carroll CICS 0 Wed Dec 14, 2016 6:55 pm
No new posts CICS START AND CANCEL blayek CICS 1 Wed Dec 07, 2016 3:27 am
No new posts How does a called pgm know if its cal... Graeme Westerman COBOL Programming 4 Tue Nov 29, 2016 9:25 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us