× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Did you know you cannot do
WRKOUTQD *ALL
? Instead you have to do WRKOBJ *OUTQ and then WRKOUTD on each entry in

that list.

Now there's QSYS2.OUTPUT_QUEUE_INFO for that:
https://www.ibm.com/developerworks/community/wikis/home?lang=en#!/wiki/IBM%20i%20Technology%20Updates/page/QSYS2.OUTPUT_QUEUE_INFO%20-%20View

select OUTPUT_QUEUE_NAME, OUTPUT_QUEUE_LIBRARY_NAME, REMOTE_SYSTEM_NAME
from QSYS2.OUTPUT_QUEUE_INFO
where REGEXP_LIKE(REMOTE_SYSTEM_NAME,
'^\d{1,3}[.]\d{1,3}[.]\d{1,3}[.]\d{1,3}$')

Example regex only works for IPv4 addresses, but you get the drift.

"MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx> wrote on 04/14/2016
09:05:51 AM:

From: Rob Berendt <rob@xxxxxxxxx>
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Date: 04/14/2016 09:06 AM
Subject: Re: Command to invoke Work With Host Table Entries?
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx>

Ran into an issue just yesterday where the tech added a new remote
output
queue. He did it right by checking the DNS and finding the IP number
was
not used there. And it was not in our dhcp range. However, someone (no

longer here) had already configured a remote output queue with that name

but an IP address (in a different country) instead of a host name and he

started wondering why his new printer in Indiana was getting printouts
for
Mexico.

I searched through every remote out queue for an ip address and that was

the only one.

Did you know you cannot do
WRKOUTQD *ALL
? Instead you have to do WRKOBJ *OUTQ and then WRKOUTD on each entry in

that list.

Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1
Group Dekko
Dept 1600
Mail to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.