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 Profile Log in to check your private messages Log in
 
how to change the job name in spool using rexx ?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
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    Post subject: how to change the job name in spool using rexx ?
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: 8593
Location: Back in jolly old England

PostPosted: Tue Feb 24, 2009 7:14 pm    Post subject:
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: 6968
Location: porcelain throne

PostPosted: Tue Feb 24, 2009 7:15 pm    Post subject:
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    Post subject:
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: 788
Location: Chennai, India

PostPosted: Tue Feb 24, 2009 7:52 pm    Post subject:
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

Site Director


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

PostPosted: Tue Feb 24, 2009 11:19 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts ejck thru rexx to multiple jobs insid... Susanta All Other Mainframe Topics 4 Tue Sep 19, 2017 1:39 pm
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am
No new posts Creating ISPF Screens with Scrname vi... Albireo20 TSO/ISPF 9 Tue Sep 05, 2017 4:24 pm
No new posts How to Run Rexx Macro? Kalaivignesh CLIST & REXX 5 Fri Sep 01, 2017 9:08 pm
No new posts Return a Non Numeric value from REXX Learncoholic CLIST & REXX 3 Fri Sep 01, 2017 8:33 pm

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