|
Ron: Be aware that there is a third alternative: The server name can be any valid name, not just the system name or the system name prefixed with "Q". The name is set as a property of NetServer, usually through Operations Navigator. Come to think of it, a fourth alternative in most networks would be the IP address. And if you examine the file named \\ip.addr.of.as400\QIBM\UserData\OS400\NetServer\QAZLSCFG, you might be able to see the server name. I think it's in Unicode, but you might be able to program around that. All you'd need to know then would be the IP address... :-) I'm not an expert in Windows networking, so I can't help much beyond that in how to find out the name of a server. I suspect your program will simply have to pop up a message box and ask the user at some point. Tom Liotta "Klein, Ron" wrote > We have a program that is called from a PC and creates directories on the > 400 in the IFS and then does a bunch of things with the files. > > On some boxes we have to use 'Q' in front of the system name to access the > correct IFS directory and on other boxes we can't access the system if we > use the 'Q'. > > Is there a way to determine which designation the 400 is goning to like > ahead of time without receiving an error message? -- Tom Liotta The PowerTech Group, Inc. 19426 68th Avenue South Kent, WA 98032 Phone 253-872-7788 Fax 253-872-7904 http://www.400Security.com ___________________________________________________ The ALL NEW CS2000 from CompuServe Better! Faster! More Powerful! 250 FREE hours! Sign-on Now! http://www.compuserve.com/trycsrv/cs2000/webmail/
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.