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 \\mysystem\qdls\doc\pgm.bat. Chuck Simonds > -----Original Message----- > From: Rob Berendt [SMTP:email@example.com] > 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 > cc: > 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 > EPanissard@idt.pf > > > +--- | 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: firstname.lastname@example.org +---
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.