- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Logicals in detached processes / Finding the input...
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
Forums
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
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
07-24-2006 04:03 AM
07-24-2006 04:03 AM
Logicals in detached processes / Finding the input file
E.g.
run /detached /input=input_file.com sys$system:loginout
When I try to get the input file from another directory, I get an error
E.g.
run /detached /input=mydir:input_file.com sys$system:loginout
The error I get in the output file seems to tell me that he cannot open the input file:
Error opening primary input file sys$input
Error in file name
mydir is defined in system table, so he should find it. Besides, when I put a show logical * in the local input file, it shows that he knows mydir
Thanks in advance for your help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2006 04:21 AM
07-24-2006 04:21 AM
Re: Logicals in detached processes / Finding the input file
You are likely encountering a protection problem.
Do two things:
- Add a SHOW PROCESS/ALL following the SHOW LOGICAL
- Do a DIRECTORY/SECURITY on the file that you are having trouble accessing (and its directory).
- Bob Gezelter, http://www.rlgsc.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2006 04:43 AM
07-24-2006 04:43 AM
Re: Logicals in detached processes / Finding the input file
mydir is defined in system table
but is it defined /EXEC (and any LNM in its translation path, up till the FYSICAL device name)?
LOGINOUT is (obviously) a privileged image.
Those should (and do) honour only privileged mode ( ie, EXEC) logicals.
hth
Proost.
Have one on me.
jpe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2006 09:57 AM
07-24-2006 09:57 AM
Re: Logicals in detached processes / Finding the input file
>LOGINOUT is (obviously) a privileged
>image. Those should (and do) honour only
>privileged mode ( ie, EXEC) logicals.
Rare to catch Jan making a mistake. Sorry, this is not true!
As long as the logical name is visible to the detached process, the file can be found and executed (try it yourself).
If you can execute a procedure from your login directory, use one for debugging:
sys$login:test.com
$ show logical/full mydir
$ dir/full mydir:input_file.com
$ type mydir:input_file.com
$ @mydir:input_file.com
now execute it detached
$ run/detached/input=test.com/out=test.log sys$system:loginout
check the dir, type or "@" commands for errors.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2006 05:28 PM
07-24-2006 05:28 PM
Re: Logicals in detached processes / Finding the input file
I then tried to define the logical in exec mode, but it did not help either. I then tried test.com as given by John, and it worked fine! He showed me all the logicals, and even started mydir:input_file.com. But without this com file in between, it still does not work.
acco/full/id=
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2006 06:57 PM
07-24-2006 06:57 PM
Re: Logicals in detached processes / Finding the input file
I think it's the f$parse you need.
/input='f$parse("file")'
Idem for /output and /error.
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2006 07:15 PM
07-24-2006 07:15 PM
Re: Logicals in detached processes / Finding the input file
Good luck
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2006 08:49 PM
07-24-2006 08:49 PM
Re: Logicals in detached processes / Finding the input file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2006 08:52 PM
07-24-2006 08:52 PM
Re: Logicals in detached processes / Finding the input file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2006 10:46 PM
07-24-2006 10:46 PM
Re: Logicals in detached processes / Finding the input file
Wim