Re: SQR question ?


[ Follow Ups ] [ Post Followup ] [ Message Board ]

Posted by [IP Address: 63.195.58.243] 'VP' on February 07, 2001 at 10:59:39 EST:

In Reply to: SQR question ? posted by [IP Address: 63.195.58.243] 'James' on February 06, 2001 at 16:10:00 EST:

: Does anybody knows if you can use unix commands from a SQR. I am creating a file on unix server and writing data to it. I want to make a copy of that file and place it somewhere on a shared directory.

: thanks
: James

Sample below:

string 'cp' '/tmp/data.dat' '/tmp/newdata.dat' by ' ' into $cmdline ! This builds your Unix command
call system using $cmdline #status ! This will execute the command.

Don't forget to close your file prior to executing your unix copy.....

Good luck.





Follow Ups:



Post a Followup


Name:
E-Mail:
Subject:

Message:


[ Follow Ups ] [ Post Followup ] [ Message Board ]