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



Try putting CD '/' before that statement?

Francis Lapeyre
IS Dept. Programmer/Analyst
Stewart Enterprises, Inc.
E-mail: flapeyre@xxxxxxxx 

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Raby, Steve
Sent: Friday, August 11, 2006 7:40 AM
To: Midrange Systems Technical Discussion
Subject: Rather urgent CPYTOSTMF problem

Hello Chaps and Chapesses

We have an urgent problem here, we have to send messages out to clients to
inform them when when cargo arrives, this has been working up until
recently. The messages actually stopped around the same time we installed
WDSC. (I cannot believe that this was the cause, but maybe some of you know
better)

Anyway the problem we are getting is when we try to do the CPYTOSTMF, the
path is set up in the program as follows:

                                                               
       CHGVAR     VAR(&PATH) VALUE('QSYS.lib/' *TCAT &LIB +    
                    *TCAT '.lib/' *TCAT &OBJ *TCAT '.file/' +  
                    *TCAT 'SND.mbr')                           
                                                               
       CPYTOSTMF  FROMMBR(&PATH) TOSTMF(&FILENAME) +           
                    STMFOPT(*REPLACE) STMFCODPAG(*PCASCII) +   
                    ENDLINFMT(*FIXED)                          

 the program falls over with this:

     Object not a QSYS.LIB object.  Object is                          
       /home/AGCSYSBH/QSYS.lib/AGCFTPOUT.lib/F001407322.file/SND.mbr.  
     Object not copied.  Object is                                     
       QSYS.lib/AGCFTPOUT.lib/F001407322.file/SND.mbr.                 

We cannot work out where the /home/AGCSYSBH comes from (AGCSYSBH is the user
profile that submits the job, which runs all day waiting for message).

Is the message telling us that the file is in the /home etc. directory or
that the path is wrong? The messages are deleted so we are not sure where
they were if they got there at all.

Another problem is that 3rd party software sets up the message to be sent,
but this has not changed for ages. 

TIA

Steve
 


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.