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

how to change the job name in spool using rexx ?


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Arun Kumar S

New User


Joined: 23 Jan 2009
Posts: 14
Location: Bangalore

PostPosted: Tue Feb 24, 2009 7:04 pm
Reply with quote

I want to change the job name after submitted the job.

B'cos JES2 is not allowing me to submit with the actual job name and i'm using my tso id as a job name.

But it is very difficult for me to see the spool ref. for a particular job as everyday we submit 100s of jobs.

Please help me if there is any way.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Feb 24, 2009 7:14 pm
Reply with quote

You can not change anything once the job has been submitted, except for JES objects, such as priority, and even then only if you are authorised.

Why on earth would you want to change the jobname ?
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Tue Feb 24, 2009 7:15 pm
Reply with quote

when you submit the job, capture the job number.

Quote:

B'cos JES2 is not allowing me to submit with the actual job name and i'm using my tso id as a job name.


and why is that? is there a site exit written for SUBMIT that insures only jobs containing valid tso id's are submitted?

what exactly is the return of the submit command - where it tells you that you can't submit with the actual job name?
Back to top
View user's profile Send private message
Arun Kumar S

New User


Joined: 23 Jan 2009
Posts: 14
Location: Bangalore

PostPosted: Tue Feb 24, 2009 7:31 pm
Reply with quote

Hi Dick,

I'm getting the below msg if i submit with other jobname.

JOB SYSDUMPX(JOB22883) SUBMITTED
07.59.53 JOB22883 $HASP165 SMFDUNPX ENDED AT IMF9S - SECURITY VIOLATION CN(INTE
RNAL)
***
Back to top
View user's profile Send private message
Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 792
Location: Chennai, India

PostPosted: Tue Feb 24, 2009 7:52 pm
Reply with quote

Will it be a hint?
$HASP165 --> Application Programmer Response: In the case of SECURITY VIOLATION, verify the user id, group id, and password used, if any.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Feb 24, 2009 11:19 pm
Reply with quote

Hello,

Suggest you talk with you system support and/or security admins to learn if there is an alternative to using only your userid in the jobname. Many systems allow userid+ as well as some "controlled" jobnames. This would be site-specific, so you will need to investigate locally.
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 -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts run rexx code with jcl CLIST & REXX 15
No new posts Execute secondary panel of sdsf with ... CLIST & REXX 1
Search our Forums:

Back to Top