|
I'd agree if I wasn't using java and jt400. My question was specific to that environment. I would like to programmatically process through as list of the queues, get the network printer information from Active Directory, mangle the name to the correct OS/400 standard, create the new device, update all workstations that pointed to the old output queue to point to the new device description and last update all user profiles that pointed to the old output queues to the new device description. I want to schedule it to run on my PC during off hours so eveything is moved over by the next day. I like your tools. I just have to go through hoops to be able to install anything on our AS/400 that didn't come from a vendor we can hang over the fire if it doesn't work or causes problems. Coy Krill Systems Analyst Whidbey Island Bank -----Original Message----- From: java400-l-bounces@xxxxxxxxxxxx [mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of Bryan Dietz Sent: Friday, July 22, 2005 06:32 To: java400-l@xxxxxxxxxxxx Subject: Re: Retrieving IP Address from Output Queue Coy, This question best belongs on the Midrange-L list, But having said that I wrote a command and programs WRKRMTWTR to solve this very issue. Have a look @ http://home.columbus.rr.com/jbmmdietz/iseries.html Bryan Dietz Aktion Associates ------------------------- date: Thu, 21 Jul 2005 16:37:45 -0700 from: Coy Krill subject: Retrieving IP Address from Output Queue We've got about 100 output queue's that were created back in the day and do not have real devices attached to them. I need to get the IP addresses from all of these queue's so we can go back and recreate them as actual devices. I also have to rename them to fit our current naming conventions. So, I thought I would use OutputQueue to get the IP address via getStringAttribute(ATTR_INTERNETADDR). I did notice that it's not listed as one of the attributes available for OutputQueue, but then again the attribute does exist and is not listed as retrievable for ANY of the PrintObject subclasses. The following is the exception I'm getting and would lead one to think I needed to update my host servers, but I've got the latest cumulative package installed as well as group ptfs. com.ibm.as400.access.RequestNotSupportedException: V5R3M0: Correct server level is required. Has anyone worked with the OutputQueue class or another class and been to retrieve the IP address? Coy Krill Systems Analyst Whidbey Island Bank -- This is the Java Programming on and around the iSeries / AS400 (JAVA400-L) mailing list To post a message email: JAVA400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/java400-l or email: JAVA400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/java400-l. ************************************************************************ The information in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. Access to this e-mail by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. ***********************************************************************
As an Amazon Associate we earn from qualifying purchases.
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.