- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- flush the log of detached process quicker
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-07-2004 02:21 AM
07-07-2004 02:21 AM
With my Vms 7.3-1, it seems that a detached process needs 1 minute before the log file can be read (run sys$system:loginout/detach/auth/input=a.com/output=a.log...)
can I modify this one minute time to a smaller value ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2004 02:31 AM
07-07-2004 02:31 AM
Re: flush the log of detached process quicker
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2004 02:31 AM
07-07-2004 02:31 AM
Re: flush the log of detached process quicker
says it is valid for detached too.
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2004 02:41 AM
07-07-2004 02:41 AM
Re: flush the log of detached process quicker
I tested it and it works for detached too.
Thanks & regards,
Lokesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2004 02:50 AM
07-07-2004 02:50 AM
Re: flush the log of detached process quicker
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2004 03:00 AM
07-07-2004 03:00 AM
Re: flush the log of detached process quicker
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2004 03:04 AM
07-07-2004 03:04 AM
Re: flush the log of detached process quicker
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2004 03:13 AM
07-07-2004 03:13 AM
Re: flush the log of detached process quicker
when you execute loginout you run a command file within /INP qualifier that's like a batch execution;
when you type run/detach execute a image file and /INP qualifier is the standard input for your detached process, not the comand file.
Antonio Vigliotti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2004 04:17 AM
07-07-2004 04:17 AM
Re: flush the log of detached process quicker
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2004 09:53 AM
07-07-2004 09:53 AM
SolutionA better approach than relying on OUTPUT_RATE is to use RMS shared files. For example, consider the DCL:
$ CREATE MYLOG.LOG
$ OPEN/APPEND/SHARE OUT MYLOG.LOG
...
$ WRITE OUT SomeRecord
From another process, this file can be read because it's open for SHARE access. HOWEVER! the EOF mark won't be updated unless RMS thinks someone else wants to write to the file. So:
$ OPEN/READ/WRITE/SHARE IN MYLOG.LOG
$ CLOSE IN
$ TYPE MYLOG.LOG
will always display the complete contents at the time of the CLOSE.
For most languages you just need to add SHARE when you OPEN the log file. (I haven't found a simple way to make this happen for implicit output files or process permanent file like SYS$OUTPUT)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2004 06:23 PM
07-07-2004 06:23 PM
Re: flush the log of detached process quicker
$ DEF SYS$OUTPUT MYPROC.LOG
$ SET OUTPUT=:00:30
$ RUN/DETACH MYPROG.EXE
$ EXIT
Antonio Vigliotti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2004 08:59 PM
07-07-2004 08:59 PM
Re: flush the log of detached process quicker
"a flush of deferred written records whenever RMS thinks someone else wants to read or write to the file" ?
This way deferred write can be used and contents can be viewed. Without any tricks.
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2004 05:53 AM
07-27-2004 05:53 AM
Re: flush the log of detached process quicker
Great idea!
Maybe you SHOULD formally suuggest it to Engeneering?
You may point to me as seconding!!
Jan