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
 

 

Is it possible to run CEMT commands from a java program

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: Is it possible to run CEMT commands from a java program
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    Post subject: Re: Is it possible to run CEMT commands from a java program
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    Post subject:
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    Post subject: Re: Is it possible to run CEMT commands from a java program
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts Need Suggestion on COBOL program vickey_dw COBOL Programming 5 Thu Jan 05, 2017 10:55 pm
No new posts I can not compile my program PL1 V3.R... Miguel Fernandez PL/I & Assembler 13 Tue Dec 06, 2016 8:30 pm
No new posts IMS BMP program causes 878 system abend Artemk IMS DB/DC 7 Tue Nov 22, 2016 8:26 pm
No new posts FTP - JCL failed while passing FTP co... Suneetha1612 JCL & VSAM 12 Wed Nov 16, 2016 7:33 pm


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