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

doing CEMT command without logging into a CICS region


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

New User


Joined: 21 Dec 2007
Posts: 88
Location: My Desk

PostPosted: Mon Oct 19, 2009 6:43 pm
Reply with quote

Hi,

Does anyone how to invoke
Code:
CEMT I TRAN(*) PROG(MYPROG)
command without logging into CICS region?
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Mon Oct 19, 2009 6:50 pm
Reply with quote

Because CEMT and other transactions, need to be placed under restricted access, using the given ESM (External Security Manager), such as RACF, you need to signon first.

What information are you trying to obtain?

Bill
Back to top
View user's profile Send private message
PrabakarV

New User


Joined: 21 Dec 2007
Posts: 88
Location: My Desk

PostPosted: Mon Oct 19, 2009 7:29 pm
Reply with quote

Thanks for the reply Bill.... I am trying to find out how to submit it thru JCL.... i need to submit it in batch...
Back to top
View user's profile Send private message
Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1193
Location: Dublin, Ireland

PostPosted: Mon Oct 19, 2009 7:35 pm
Reply with quote

Depending in site configuration you may be able to submit IEFBR14 with the command in JCL. This should run on a console which should be defined to use preauth such that the command is run with the userid of the user who submitted the job. This user must, of course, have authorisation to run CEMT.

Garry
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Mon Oct 19, 2009 7:39 pm
Reply with quote

Review the JES MODIFY command. You'll need to consult with your system's personnel as to whether this is authorized in your shop.

Otherwise, there are several third-party products.

You can also write a BATCH/EXCI program which links to a user-written program in the target-region. The user-written program should use the System Programming API's rather than interfacing with CEMT, via an entry point, such as DFHEMTP and/or DFHEMTA. Their support will eventually go away.

In fact, MacKinney's BATCH/CEMT, which uses DFHEMTA, will eventually be discontinued as a product, because of their fear that DFHEMTA will be gone in the future.

They do have an alternative package.

www.mackinney.com

Bill
Back to top
View user's profile Send private message
PrabakarV

New User


Joined: 21 Dec 2007
Posts: 88
Location: My Desk

PostPosted: Mon Oct 19, 2009 7:42 pm
Reply with quote

i have tried the below from search... but the problem is i dunno where to look at job output

Code:
//STEP1 EXEC PGM=IEFBR14
// F CICSX,CEMT I TRAN(*)


can you help me in this.... Thanks...
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Mon Oct 19, 2009 7:47 pm
Reply with quote

A CEMT INQ TRAN(*), when issued natively from a screen, will return a list of every transaction defined to the particular region, both local and remote and the list could go on and on for many pages.

Is this just an example?

What information do you really need?

You have to be much more specific (exact would be better) because an INQ TRAN(*) doesn't make sense.

Bill
Back to top
View user's profile Send private message
PrabakarV

New User


Joined: 21 Dec 2007
Posts: 88
Location: My Desk

PostPosted: Mon Oct 19, 2009 7:53 pm
Reply with quote

sorry for the general asking...

i want to perfrom the below...

Code:
CEMT I TRAN(TRN1)


Thanks
Back to top
View user's profile Send private message
Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1193
Location: Dublin, Ireland

PostPosted: Mon Oct 19, 2009 8:05 pm
Reply with quote

The output from CEMT I TRAN(TRN1) should be visible in the CICS JESMSGLG output. If you don't have permission, JESMSGLG shoud have informatory message.

Garry.
Back to top
View user's profile Send private message
PrabakarV

New User


Joined: 21 Dec 2007
Posts: 88
Location: My Desk

PostPosted: Mon Oct 19, 2009 8:10 pm
Reply with quote

i have one more doubt.... whether i need to give the cics job name in
Quote:
// F CICSX,CEMT I TRAN(*)


CICSX or cics region name? in our cics systems we have job & and regions names are slightly diff....
Back to top
View user's profile Send private message
Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1193
Location: Dublin, Ireland

PostPosted: Mon Oct 19, 2009 8:15 pm
Reply with quote

The command is an MVS Modify command to the job, so use the CICS jobname - ie what you display in SDSF.

Garry.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


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

PostPosted: Mon Oct 19, 2009 8:16 pm
Reply with quote

The modify command takes the job name.
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Mon Oct 19, 2009 8:40 pm
Reply with quote

You should probably get confirmation from security personnel regarding the CEMT returned characteristics returned via the JES MODIFY command and the fact that this information becomes available to several (if not more) personnel.

It's a precautionary step so that you'll stay out of trouble with management. icon_wink.gif

Bill
Back to top
View user's profile Send private message
Earl Haigh

Active User


Joined: 25 Jul 2006
Posts: 475

PostPosted: Wed Oct 21, 2009 11:22 pm
Reply with quote

If you need to run CEMT from batch JOB or from within your own COBOL batch program, your might want to try BatchCICS-Connect from DSI solutions.

cicswiki.org/cicswiki1/index.php?title=How_do_I_interact_with_a_transaction_from_a_batch_program%3F#3rd_party_Vendor_Software
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 RACF - Rebuild SETROPTS command which... All Other Mainframe Topics 3
No new posts Using API Gateway from CICS program CICS 0
No new posts Routing command Address SDSF to other... TSO/ISPF 2
No new posts DTL - how to define key with stacked ... TSO/ISPF 3
No new posts LTJ command CA Products 4
Search our Forums:

Back to Top