View previous topic :: View next topic
|
Author |
Message |
PrabakarV
New User
Joined: 21 Dec 2007 Posts: 88 Location: My Desk
|
|
|
|
Hi,
Does anyone how to invoke
Code: |
CEMT I TRAN(*) PROG(MYPROG) |
command without logging into CICS region? |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
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 |
|
|
PrabakarV
New User
Joined: 21 Dec 2007 Posts: 88 Location: My Desk
|
|
|
|
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 |
|
|
Garry Carroll
Senior Member
Joined: 08 May 2006 Posts: 1205 Location: Dublin, Ireland
|
|
|
|
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 |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
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 |
|
|
PrabakarV
New User
Joined: 21 Dec 2007 Posts: 88 Location: My Desk
|
|
|
|
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 |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
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 |
|
|
PrabakarV
New User
Joined: 21 Dec 2007 Posts: 88 Location: My Desk
|
|
|
|
sorry for the general asking...
i want to perfrom the below...
Thanks |
|
Back to top |
|
|
Garry Carroll
Senior Member
Joined: 08 May 2006 Posts: 1205 Location: Dublin, Ireland
|
|
|
|
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 |
|
|
PrabakarV
New User
Joined: 21 Dec 2007 Posts: 88 Location: My Desk
|
|
|
|
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 |
|
|
Garry Carroll
Senior Member
Joined: 08 May 2006 Posts: 1205 Location: Dublin, Ireland
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
The modify command takes the job name. |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
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.
Bill |
|
Back to top |
|
|
Earl Haigh
Active User
Joined: 25 Jul 2006 Posts: 475
|
|
Back to top |
|
|
|