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

Is it possible to run CEMT commands from a java program


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Steven Goedertier

New User


Joined: 26 Feb 2007
Posts: 3
Location: Belgium

PostPosted: Wed Feb 28, 2007 4:32 pm
Reply with quote

is it possible to run CEMT commands from a java program.
I run a java program tru CICS (in webinterface) and can retrieve information about my current transaction/program.

but i want to use the same program to e.g. see the status off all transactions running. (CEMT INQUIRE TRANS DIS)
Can this be done?

thx
Back to top
View user's profile Send private message
dineshness

New User


Joined: 25 Dec 2006
Posts: 63
Location: Perambalur

PostPosted: Thu Mar 01, 2007 12:53 am
Reply with quote

It must be possible as i've read it from the book "CICS System Programming Reference" sometimes ago.

Please refer to this link [url]examples.oreilly.com/cics/CDROM/pdfs/cicsts/dfha800.pdf[/url]

I think you can make use of the INQUIRE TRANSACTION command.

Dinesh.
Back to top
View user's profile Send private message
Steven Goedertier

New User


Joined: 26 Feb 2007
Posts: 3
Location: Belgium

PostPosted: Thu Mar 01, 2007 1:40 pm
Reply with quote

i can use the INQUIRE TRANSACTION command in JAVA with TransactionName(). But this is only from my current transaction.
I need to find a way to do this for all the transaction with all the regions
Back to top
View user's profile Send private message
dineshness

New User


Joined: 25 Dec 2006
Posts: 63
Location: Perambalur

PostPosted: Thu Mar 01, 2007 11:32 pm
Reply with quote

You can use the INQUIRE TRANSACTION to retrive information for all the transactions...,provided you have a way to code or get all the transaction names in the program.

I am not sure whether this will work to get the transaction names for the regions other than the region in which the program is supposed to run.

I guess What you are aspiring for is virtually to have a copy of the CSD file of every region in your program... icon_confused.gif

But in any case, what would drag you to do this?

Dinesh.
Back to top
View user's profile Send private message
Steven Goedertier

New User


Joined: 26 Feb 2007
Posts: 3
Location: Belgium

PostPosted: Fri Mar 02, 2007 1:39 pm
Reply with quote

Well this is an assignment i'm on. To check if it can be done.
It has to be a java application. It has to be able to get all the transactions and see if they are enabled/disabled and be able to disable/enable them.
This from all from a webinterface.

So i have to be able to get all the info into the program indeed.

greets
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 -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts Calling Java method from batch COBOL ... COBOL Programming 5
No new posts DB2 Event passed to the Application P... DB2 1
No new posts How to pass the PARM value to my targ... COBOL Programming 8
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
Search our Forums:

Back to Top