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
 

 

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: 6967
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
This topic is locked: you cannot edit posts or make replies. Need help on If condition continuatio... ashok_uddaraju CLIST & REXX 4 Fri May 19, 2017 8:55 am
No new posts How to change 'K' or 'M' use Sort vice_versa DFSORT/ICETOOL 5 Thu May 18, 2017 7:11 am
This topic is locked: you cannot edit posts or make replies. SDSF multiple spool datasets extracte... PJAlarcon CLIST & REXX 1 Fri Apr 21, 2017 10:50 pm
No new posts Running an REXX EXEC implicitly sho7hills CLIST & REXX 3 Thu Apr 20, 2017 8:14 am
No new posts Need help in REXX CALL program Raje1002 CLIST & REXX 5 Wed Apr 19, 2017 11:18 pm


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