[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Re: [sqr-users] How to copy a file from one directory into another



Hello Jennifer,

Can't you just issue a CALL SYSTEM command with a copy command stored in in a 
string variable?

Example :

Let $CopyCommand = 'copy file1 file2'
CALL SYSTEM USING $CopyCommand WAIT

See CALL SYSTEM command description in SQR manual...

Hope this helps...

Charly

 --- jennifer yun <greatcookie772@yahoo.com> a écrit : > Can someone tell me 
how to copy a file
from one unix directory into another? I have an output
> file that gets sent to a file location in the server where users cannot view 
>unless they have
> FTP access. Users need to be able to view this file before another process 
>picks it up. In order
> for online viewing (PeopleSoft Financials 8.4), the output file needs to go 
>to the
> /log_output/process_instance_xxxx   where the file is picked up and sent to 
>the report
> repository.  The easiest fix is to insert a code into the SQR to copy the 
>output file from the
> ouptut destination into this  /log_output/process_instance_xxxx   directory.  
>Or, another fix is
> to simultaneously send the file to the specified output destination AND the
> /log_output/process_instance_xxxx.  Which would be easier?
>  
> Jenn
> 


        

        
                
Yahoo! Mail : votre e-mail personnel et gratuit qui vous suit partout ! 
Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/

_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users