Re: [Oorexx-devel] ok to update doc for SysFileCopy/Move ?

2012-01-31 Thread Bill Turner, WB4ALM
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//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


--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


Re: [Oorexx-devel] ok to update doc for SysFileCopy/Move ?

2012-01-31 Thread Jean-Louis Faucher
These two functions are available in main/trunk only (for Linux).
The doc of 4.1.0 was updated by mistake : SysFileCopy is for Windows only.

Jean-Louis

2012/1/31 Bill Turner, WB4ALM wb4...@arrl.net

 **
 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//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 
 customershttp://p.sf.net/sfu/verizon-dev2dev


 ___
 Oorexx-devel mailing 
 listOorexx-devel@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/oorexx-devel




 --
 Keep Your Developer Skills Current with LearnDevNow!
 The most comprehensive online learning library for Microsoft developers
 is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
 Metro Style Apps, more. Free future releases when you subscribe now!
 http://p.sf.net/sfu/learndevnow-d2d
 ___
 Oorexx-devel mailing list
 Oorexx-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/oorexx-devel


--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel