- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- ip address out of printer into a symbol
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
тАО05-06-2007 08:39 PM
тАО05-06-2007 08:39 PM
I could not find the solution in f$getqui.
And i am not smart enough (vaiable numer of digits) to get an stable answer while struggeling with the output from the "show que/device" command.
Greetings from a rainy (1 time in 6 weeks)
Holland.
m(..)m (this is a humble bow)
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2007 09:04 PM
тАО05-06-2007 09:04 PM
SolutionTry with this:
$ ipandport = f$getqui("DISPLAY_QUEUE","DEVICE_NAME",queue_name)
$ ipandport='ipandport'
$ ip=f$element(0,":",ipandport)
You must set queue_name to the queue name you want. The $ ipandport='ipandport' is to get rid of the extra bracess you get.
Bojan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2007 09:43 PM
тАО05-06-2007 09:43 PM
Re: ip address out of printer into a symbol
Thanks for your very quick response.
I tried it and it did the job perfectly.
You are a truely expert
m(..)m
You deserve this huble bow.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2007 10:29 PM
тАО05-06-2007 10:29 PM
Re: ip address out of printer into a symbol
to begin with:
Welkom bij het VMS forum :-)
Please be aware, that Bojan's solution gives you what it requests: the DEVICE_NAME of the queue. If you have specified a (host-, DNS-name) as the device (which I strongly favor!) then what you wil get back is _NOT_ the IP address, but the NAME associated with that address.
This might or might not be what you wish.
Proost.
Have one on me.
jpe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2007 01:43 AM
тАО05-07-2007 01:43 AM
Re: ip address out of printer into a symbol
Thanks for welcoming me.
In de past i visit this site many times searching for solutions for te problems i had.
This was the first time i couldn't find an answer.
So i jumped into the cold water, and found out it's realy warm.
In short time 2 great answers.
And you're right, one has to prefer names instead of numbers ;=)
But in my situation there are on two different clusters (in seperated networks)with hundres of queue's using the same printers.
Not all of them are on both systems.
And no, they are not named but numbered.
If they were named i could perform lookups by name.(show host)
The coal is to match them and to get rid of missing and obselete ones.
Keep up the good things!
Hansley Dubieson.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-10-2007 03:40 AM
тАО05-10-2007 03:40 AM