× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi Guys ,
 
Need some help on this -
 
We are trying to  transfer data from PC to AS/400 & from AS/400 to PC  using  STRPCO command in our CL Program. ( Kindly refer to  CL program given at the end of the message )
 
We face the following problems -
 
1) When  CL is executed repeatedly  (i.e. for different files) it flashes an inquiry message (IWS4010) saying that the PC organizer for  Client Access is already active.  System allows us to continue the program after ignoring the error.  How do we   eliminate this message ?
 
2) The filenames passed to  STRPCCMD keeps on changing and so we are giving it in the following form -
 STRPCCMD (&FNAME).
But at file  transfer we get an error - 'ACCESS IS DENIED'
 
3)  The given CL program needs to be executed in batch.  But the STRPCCMD cannot be run in batch.  Are there are any alternatives /solutions to this problem.
 
*****************************CL Program**************************
PGM PARM(&NAME)
DCL VAR(&NAME) TYPE(*CHAR) LEN (10)
DCL CAR(&FNAME) TYPE(*CHAR) LEN (24)
CHGVAR VAR(&FNAME) VALUE(‘RTOPCB C:\OFFLINE\’ TCAT &NAMETCAT TTO’)
STRPCO
STRPCCMD(&FNAME)
ENDPGM
 
******************************************************
 
 
Thanks in advance
Vijosh
 
 
From the Desk of :
 
Vijosh A.
Senior Consultant
Systems & Software
SEEPZ, Mumbai, India.
 
Tel  : (91-22) 829 0803 / 0075
Fax : (91-22) 829 2578 / 1389

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.