× 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.


  • Subject: RE: Problem with the STRPCO & STRPCCCMD command
  • From: "Adam White" <adam@xxxxxxxxxxxxxxxx>
  • Date: Thu, 11 May 2000 17:49:58 +0100
  • Importance: Normal

I often use this method as well,

Simply ignore any error with a MONMSG CPF0000.

It doesn’t seem to matter that it gets executed more than once so long as it does happen once.

 

Regards

Adam White

SLIC Systems Ltd

www.slic-systems.com

 

 

-----Original Message-----
From: owner-midrange-l@midrange.com [mailto:owner-midrange-l@midrange.com]On Behalf Of Vijosh.A
Sent: 11 May 2000 13:26
To: MIDRANGE-L@midrange.com
Cc: medha
Subject: Problem with the STRPCO & STRPCCCMD command
Importance: High

 

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 ...

Replies:

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.