I don't think Client Access passes the connection name. RTVNETA will work if
your standard for naming Client Access connections is to use the defined
system name but you have to be confident that someone didn't create a
connection to that 400 using a different name. For instance, I can connect
to an AS/400 with a system name of MYSYSTEM thru a Client Access connection
called TOPSAIL if I use the right IP address in the connection properties
and add TOPSAIL to my local host table. In that case, my command path would
have to be \\topsail\qdls\doc\pgm.bat while yours may very well be
> -----Original Message-----
> From: Rob Berendt [SMTP:firstname.lastname@example.org]
> Sent: Tuesday, October 26, 1999 8:54 AM
> To: MIDRANGE-L@midrange.com
> Subject: Re: STRPCCMD & AS400 name
> Will this be initiated from the 400? Then use RTVNETA to get the system
> name. Parse this into the STRPCCMD.
> EPanissard@idt.pf on 10/25/99 05:36:46 PM
> Please respond to MIDRANGE-L@midrange.com@Internet
> To: MIDRANGE-L@midrange.com@Internet
> Fax to:
> Subject: STRPCCMD & AS400 name
> How I can retrieve, in a CL program, the AS400 name gived inside Client
> Access to
> make the connexion.
> (TCP/IP or SNA)
> I need it to use in the STRPCCMD command like :
> STRPCCMD PCCMD(?\\<As400name>\qdls\doc\pgm.bat?)
> Or may be there is an other way to do the same thing better...
> Eric Panissard
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: email@example.com
This mailing list archive is Copyright 1997-2019 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