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
 

 

doing CEMT command without logging into a CICS region

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: doing CEMT command without logging into a CICS region
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: 2502
Location: Atlanta, Georgia, USA

PostPosted: Mon Oct 19, 2009 6:50 pm    Post subject: Reply to: doing CEMT command without logging into a CICS reg
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    Post subject:
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

Active Member


Joined: 08 May 2006
Posts: 988
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Mon Oct 19, 2009 7:35 pm    Post subject:
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: 2502
Location: Atlanta, Georgia, USA

PostPosted: Mon Oct 19, 2009 7:39 pm    Post subject: Reply to: doing CEMT command without logging into a CICS reg
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.

http://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    Post subject:
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: 2502
Location: Atlanta, Georgia, USA

PostPosted: Mon Oct 19, 2009 7:47 pm    Post subject: Reply to: doing CEMT command without logging into a CICS reg
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    Post subject:
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

Active Member


Joined: 08 May 2006
Posts: 988
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Mon Oct 19, 2009 8:05 pm    Post subject:
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    Post subject:
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

Active Member


Joined: 08 May 2006
Posts: 988
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Mon Oct 19, 2009 8:15 pm    Post subject:
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: 7908
Location: Bellevue, IA

PostPosted: Mon Oct 19, 2009 8:16 pm    Post subject:
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: 2502
Location: Atlanta, Georgia, USA

PostPosted: Mon Oct 19, 2009 8:40 pm    Post subject: Reply to: doing CEMT command without logging into a CICS reg
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    Post subject:
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.

http://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    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 How does a called pgm know if its cal... Graeme Westerman COBOL Programming 4 Tue Nov 29, 2016 9:25 pm
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 6 Fri Nov 18, 2016 1:48 pm
No new posts CICS Roll back partially - Need to re... dwijadas CICS 4 Wed Nov 16, 2016 4:30 pm
No new posts CICS NEW SIT PARAMETERS CICS BEHAVIOR... Kyle Carroll CICS 0 Fri Nov 04, 2016 11:55 pm
No new posts Single COPY CICS TS datasets and when... Kyle Carroll CICS 2 Tue Oct 11, 2016 9:47 pm


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