|
If it's the NetServer name you need, RTVNETA _WON'T_ give it to you. You might get lucky and have the NetServer name be the same as the SNA name you can get using RTVNETA, but I wouldn't count on it. Note that the deault NetServer name is the SNA system name prefixed by Q. However, there is an option in the NetServer configuration to "Allow iSeries NetServer access using the (SNA) system same." Don't know off the top of my head a way to retrieve the NetServer system name. Charles Wilt -- iSeries Systems Administrator / Developer Mitsubishi Electric Automotive America ph: 513-573-4343 fax: 513-398-1121
-----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of jeffw@xxxxxxxxxxxxxxxx Sent: Wednesday, January 17, 2007 3:59 PM To: RPG programming on the AS400 / iSeries Subject: RE: System Name Thanks it was the netserver name that I needed. Thanks again On Wed, 17 Jan 2007 15:34:36 -0500, Wilt, Charles wroteWhich system name? SNA: use the RTVNETA command others have posted. TCP/IP: <...> NetServer: <...> Can't think of any others off the top of my head. So which name do you need? Charles Wilt -- iSeries Systems Administrator / Developer Mitsubishi Electric Automotive America ph: 513-573-4343 fax: 513-398-1121-----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of jeffw@xxxxxxxxxxxxxxxx Sent: Wednesday, January 17, 2007 2:18 PM To: rpg400-l@xxxxxxxxxxxx Subject: System Name Hi everyone I have a program that needs to know what AS/400 it isrunning on todetermine some variables. How can I retrieve the system name into my program or CL? Thanks Jeff Williams -- This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/rpg400-l or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l.-- This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/rpg400-l oremail: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l.-- WOW! Homepage (http://www.wowway.com) -- This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/rpg400-l or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l.
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.