- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Open VMS Run detached process query
Operating System - OpenVMS
1753777
Members
7620
Online
108799
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО09-29-2006 12:16 PM
тАО09-29-2006 12:16 PM
Hi,
I need to runa detached job like
RUN/PROC = cpsmon_sysx -
/uic = [OMS_MASTER] -
/INPUT= tc_log:cpsmon.com -
/enqu=2000 -
/priv=(all,nobypass) -
/io_b=1000 -
/io_d=200 -
/extent = 20000 -
/maxi = 100000 -
/work = 50000 -
/buff = 80000 -
/file = 150 -
/page = 180000 -
/queu = 50 -
/subp = 6 -
/ast_l = 500 -
sys$system:loginout
My command file cpsmon have few parameters in it..please let me know how to submit cpsmon with parameter p1 and p2 as a detached job
I need to runa detached job like
RUN/PROC = cpsmon_sysx -
/uic = [OMS_MASTER] -
/INPUT= tc_log:cpsmon.com -
/enqu=2000 -
/priv=(all,nobypass) -
/io_b=1000 -
/io_d=200 -
/extent = 20000 -
/maxi = 100000 -
/work = 50000 -
/buff = 80000 -
/file = 150 -
/page = 180000 -
/queu = 50 -
/subp = 6 -
/ast_l = 500 -
sys$system:loginout
My command file cpsmon have few parameters in it..please let me know how to submit cpsmon with parameter p1 and p2 as a detached job
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-29-2006 12:43 PM
тАО09-29-2006 12:43 PM
Re: Open VMS Run detached process query
I don't do this, but my guess would be that
you need to create a new "temp.com" which
does something like:
$ @ tc_log:cpsmon.com 'p1' 'p2'
This seems to be what is done, for example,
in SYS$MANAGER:DECW$STARTSERVER.COM. (Look
for "decw$killserver".)
you need to create a new "temp.com" which
does something like:
$ @ tc_log:cpsmon.com 'p1' 'p2'
This seems to be what is done, for example,
in SYS$MANAGER:DECW$STARTSERVER.COM. (Look
for "decw$killserver".)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-30-2006 12:13 AM
тАО09-30-2006 12:13 AM
Re: Open VMS Run detached process query
Steven gave a good solution.
Another way to achieve this is by way of Logical Names.
Define the values of your params (and I favor using meaningful names) in a table that is accessible by the detached process.
I much prefer creating a dedicated LogicalNameTable (if so desired, those can be clusterwide, in which case they survive node reboot!), but you might also decide to use the LNM$GROUP_
Now in cpsmon.com, for each "param", do a F$TRNLNM
We have found this a very effective and very flexible way to handle those kind of things, but as always,
YMMV.
hth
Proost.
Have one on me.
jpe
Another way to achieve this is by way of Logical Names.
Define the values of your params (and I favor using meaningful names) in a table that is accessible by the detached process.
I much prefer creating a dedicated LogicalNameTable (if so desired, those can be clusterwide, in which case they survive node reboot!), but you might also decide to use the LNM$GROUP_
Now in cpsmon.com, for each "param", do a F$TRNLNM
We have found this a very effective and very flexible way to handle those kind of things, but as always,
YMMV.
hth
Proost.
Have one on me.
jpe
Don't rust yours pelled jacker to fine doll missed aches.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-30-2006 10:34 AM
тАО09-30-2006 10:34 AM
Solution
Srikanth,
If you're on a late enough version of OpenVMS (8.2 or higher) you can CREATE/MAILBOX then specify that as your /INPUT. The creator process can then write the appropriate "@" command with whatever parameters you like.
$ CREATE/MAILBOX DETMAIL
$ OPEN/WRITE DETCMD DETMAIL
$ RUN/DETACHED/INPUT='F$TRNLNM("DETMAIL") ...
$ WRITE DETCMD "@tc_log:cpsmon.com ""''par1'"" ""''par2'"""
$ CLOSE DETCMD
$ DELETE/MAILBOX DETMAIL
Note that since the detached process will probably still have a channel open to the mailbox, it won't actually get deleted until the process terminates.
Make sure you get the latest patches and check that your mailboxes get deleted properly, I think some of the early implementations had trouble cleaning up.
If you're on a late enough version of OpenVMS (8.2 or higher) you can CREATE/MAILBOX then specify that as your /INPUT. The creator process can then write the appropriate "@" command with whatever parameters you like.
$ CREATE/MAILBOX DETMAIL
$ OPEN/WRITE DETCMD DETMAIL
$ RUN/DETACHED/INPUT='F$TRNLNM("DETMAIL") ...
$ WRITE DETCMD "@tc_log:cpsmon.com ""''par1'"" ""''par2'"""
$ CLOSE DETCMD
$ DELETE/MAILBOX DETMAIL
Note that since the detached process will probably still have a channel open to the mailbox, it won't actually get deleted until the process terminates.
Make sure you get the latest patches and check that your mailboxes get deleted properly, I think some of the early implementations had trouble cleaning up.
A crucible of informative mistakes
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP