- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Prefixing
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
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
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
тАО06-21-2005 07:45 PM
тАО06-21-2005 07:45 PM
$ say = "write sys$output"
$ say "hello"
I would like to have that before "hello" the time is written and this only by modifying the definition of say.
E.g.
say:== write sys$output """''f$cvt()' """ +
but here the time is put in the symbol at definition time and not at "execution of say time".
Wim
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2005 07:50 PM
тАО06-21-2005 07:50 PM
Re: Prefixing
e.g.
$ say = "Call SAY "
$ say " test"
$ exit
$ say: subroutine
$ ws F$time()+P1
$ exit
$ endsubroutine
regards Kalle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2005 08:02 PM
тАО06-21-2005 08:02 PM
Re: Prefixing
I thought of that but
1) this is slower
2) then I'm limited to 1 parameter, or even 9
3) constructs with + and - and lexicals could no longer be used without modification
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2005 08:04 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2005 08:25 PM
тАО06-21-2005 08:25 PM
Re: Prefixing
Thanks Marc.
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2005 08:55 PM
тАО06-21-2005 08:55 PM
Re: Prefixing
$ exit
$a: subroutine
$ write sys$output "''f$trnlnm("sys$node")'::''f$time ()' ''p1'"
$ return
Any text you can build up as a string. No "+" nor "-" ;)
OpenVMS Developer & System Manager
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2005 10:47 PM
тАО06-21-2005 10:47 PM
Re: Prefixing
$ HELP SET PREFIX
$ SET PREFIX "(!5%T) "
?
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2005 10:56 PM
тАО06-21-2005 10:56 PM
Re: Prefixing
regards Kalle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2005 01:37 AM
тАО06-22-2005 01:37 AM
Re: Prefixing
say := write sys$output
say "''f$cvtime(,"absolute","hour")':''f$cvtime(,"absolute","minute")' hallo"
you get this
15:35 hallo
or
say "''f$cvtime(,"absolute","time")' hallo"
you get this
15:36:03.57 hallo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2005 01:42 AM
тАО06-22-2005 01:42 AM
Re: Prefixing
say = "write sys$output f$cvtime(,,"""time""")"