on 01/03/2010 Jean-Louis Faucher stated that SysFileCopy was available for Linux....


I have the 64 bit version of Rexx installed on a Ubuntu 11.04 Linux system:

rexx -version
Open Object Rexx Version 4.1.0
Build Date: Dec 3 2010
Addressing Mode: 64

the statement 

   call SysFileCopy  testfile , "/home/bill/xxx/yyyy/"PhysicalSitename"?index.php"

issued the following error message:
REX0043E: Error 43 running /home/bill/bin/testcc line 48:  Routine not found
REX0417E: Could not find routine "SYSFILECOPY"

The docfile  rexxref.pdf   does not say that it is "Windows Only".

What am I doing wrong?

/s/ Bill Turner, wb4alm



On 01/03/2010 12:35 PM, Jean-Louis Faucher wrote:
SysFileCopy and SysFileMove are now available for Unix.
Is it ok to update the doc accordingly ? (basically remove "Windows only")

There is a script for the tests :
test/trunk/ooRexx/base/rexxutil/platform/unix/SysFileCopyMove.sh

Currently not integrated in the test framework.
Usage : ./SysFileCopyMove.sh (from any directory)
The following variables must be adjusted before running the script :
d1="/tmp/testSysFile"
d2="/local/tmp/testSysFile"
To work correctly, this script must use paths that are located on different filesystems (i.e. different mounts), to generate EXDEV errors.

Potential problem : I test the expected error codes, assuming that all platforms use the same codes, which is probably wrong... If problem confirmed, then I should test if the code is 0 or not 0.

Jean-Louis
------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel