- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Can I change a batch job's username?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2012 09:01 AM
10-12-2012 09:01 AM
Can I change a batch job's username?
Hi,
I need to change a username on several batch jobs. I can't find a dcl command to do this. Is this possible?
Thanks,
RB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2012 09:46 AM
10-12-2012 09:46 AM
Re: Can I change a batch job's username?
I don't think so.
You'll just have to resubmit.
How were teh jobs created? Can you dele, fix the creator and re-create?
If there are less than 10 or so, just do you SHOW QUEUE/ALL and use that.
For more jobs you may want to use a script based on F$GETQUI looking for jobs for the username you did not want and pick up ALL the attributes and parameters, delete and re-submit under the rigth username.
Check out : $ help lexi f$getqui examamples
Good luck!
Hein
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2012 09:55 AM
10-12-2012 09:55 AM
Re: Can I change a batch job's username?
that is what I thought too... I have 5 jobs to change.
Thanks much,
RB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2012 02:09 PM
10-14-2012 02:09 PM
Re: Can I change a batch job's username?
The attachment is an extract from a larger procedure, the purpose of which is to search for and resubmit jobs where the target procedure has been updated. Since it uses DISPLAY_ENTRY, it will only work for jobs owned by the current process. Syntax is
$ @RESUBMIT <entry> <new filespec>
Another restriction is it can only handle jobs with a single target file. Possibly a "feature" (but really just a consequence of DCL being incapable of returning a string from a subroutine), the job attributes are defined as global symbols.
A simple matter to modify the code to change /USER