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

Release a HELD job using JES command in batch.


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Tue May 17, 2011 3:57 pm
Reply with quote

maybe this will work :

To print part of the SYSLOG to a preallocated data set:
Go to SDSF
Type the PRINT Command like this: PT ODSN SDSF.PRINT * MOD
Then type the PRINT command with the date and time for which you need to print the log: PT 06.00.00 10/15/2008 10.00.00 10/15/2008
Then type this command: PT CLOSE
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1742
Location: Tirupur, India

PostPosted: Tue May 17, 2011 4:13 pm
Reply with quote

Hello Peter, Thanks for the information.
Unfortunately, I do not have access to perform PT ODSN SDSF.PRINT * MOD

Regards,
Back to top
View user's profile Send private message
nevilh

Active User


Joined: 01 Sep 2006
Posts: 262

PostPosted: Tue May 17, 2011 6:58 pm
Reply with quote

Are you able to issue the log command from sdsf. This will show you the syslog. If not go into SDSF issue the da command then issue the pre command.
now the first job you see in the da panel should be *MASTER*
Select this, if this works you are now in the syslog. If neither of these options work....... I don't know how to continue
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1742
Location: Tirupur, India

PostPosted: Tue May 17, 2011 7:21 pm
Reply with quote

The log command worked from SDSF(I have never seen the SYSLOG before)

Upon searching the SYSLOG there were some messages related to the job which was submitted to release another job,

Code:
IRR010I  USERID USERID  IS ASSIGNED TO THIS JOB.                   
IEFC165I // $AJ(TESTERJ) 890                                       
$AJ(TESTERJ)                                                       
ICH70007I USER AUTHORITY CANNOT BE USED FOR THIRD-PARTY 892         
          AUTHORIZATION CHECK FOR USER (USERID ) GROUP (SYSTEM ) 
          BECAUSE THE EXECUTION NODE (NODE) IS NOT LOCAL.       
          UACC WILL BE USED.                                       
ICH408I JOB(JES2    ) STEP(IEFPROC ) 893                           
  JES2.MODIFYRELEASE.BAT CL(OPERCMDS)                               
  INSUFFICIENT ACCESS AUTHORITY                                     
  FROM JES2.MODIFY*.BAT* (G)                                       
  ACCESS INTENT(UPDATE )  ACCESS ALLOWED(NONE   )                   
$HASP690 COMMAND REJECTED - AUTHORIZATION FAILURE                   
ICH70001I USERID  LAST ACCESS AT 08:32:57 ON TUESDAY, MAY 17, 2011
$HASP373 USERIDO STARTED - INIT 26   - CLASS S - SYS LPAR         
IEF403I USERIDO - STARTED - TIME=08.39.51


It says,
BECAUSE THE EXECUTION NODE (NODENAME) IS NOT LOCAL.
Does that mean that JES is being shared or something, and I have to route my relase job to some other JES node?

Regards,
Back to top
View user's profile Send private message
nevilh

Active User


Joined: 01 Sep 2006
Posts: 262

PostPosted: Tue May 17, 2011 8:47 pm
Reply with quote

As the old saying goes you are up a well known creek without a paddle. I could be wrong here as RACF is not my strong point but I believe the message means that the Racf class RACFVARS is active and the &RACLNDE profile does not contain the Local JES2 Node. (I am willing to be corrected here) . This means that if you wish submit the command from batch you will have to get your RACF people to change the definitions. If however you are allowed to issue the console command you could issue that from batch and then everything should be OK again. From within ispf issue the command tso console if the system prompts you with console then you should be able to build a batch job to do what you want. To get out of console mode just enter the command end.
Back to top
View user's profile Send private message
nevilh

Active User


Joined: 01 Sep 2006
Posts: 262

PostPosted: Tue May 17, 2011 10:23 pm
Reply with quote

As the old saying goes you are up a well known creek without a paddle. I could be wrong here as RACF is not my strong point but I believe the message means that the Racf class RACFVARS is active and the &RACLNDE profile does not contain the Local JES2 Node. (I am willing to be corrected here) . This means that if you wish submit the command from batch you will have to get your RACF people to change the definitions. If however you are allowed to issue the console command you could issue that from batch and then everything should be OK again. From within ispf issue the command tso console if the system prompts you with console then you should be able to build a batch job to do what you want. To get out of console mode just enter the command end.
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1742
Location: Tirupur, India

PostPosted: Wed May 18, 2011 2:17 am
Reply with quote

Hello,

I do not have access to console as well. So will have to request Security associates for help. I have opened a request with some information from this thread and hopefully it will get sorted out soon.
Many thanks for your thoughts Nevil.

Regards,
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 -> JCL & VSAM Goto page Previous  1, 2

 


Similar Topics
Topic Forum Replies
No new posts RACF - Rebuild SETROPTS command which... All Other Mainframe Topics 3
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 How to get a stack trace on a looping... ABENDS & Debugging 5
No new posts LTJ command CA Products 4
Search our Forums:

Back to Top