I'm getting RC=20 from execio when writing a stem to disk. I added a bit of diagnostic code:
signal on error : error: if rc \= 0 then do errno = sysGetErrNo() errmsg = sysGetErrNoMsg(errno) say 'GenHtmlTree failed at statement' sigl':' sourceline(sigl) say 'with return code' rc 'and Linux error#' errno '('errmsg').' end exit 0 and I get this back: $genhtmltree Documents/Prose/MyProse/Stories >rexx.trace 2>&1 89 *-* address hostemu 'execio' html.0 'diskw "/home/leslie/html/private/'directory.d'/index.html" (finis stem html.' >>> "execio 34 diskw "/home/leslie/html/private/Documents/Prose/MyProse/Stories/index.html" (finis stem html." +++ "RC(20)" GenHtmlTree failed at statement 89: address hostemu 'execio' html.0 'diskw "/home/leslie/html/private/'directory.d'/index.html" (finis stem html.' with return code 20 and Linux error# 29 (Unknown). There are no descriptions of return codes in the Open Object Rexx Rexx Extensions Library Reference. Here's another strangeness: When I redirect the output from the program into a file to paste it into this message the error# changed from 29 to 2. (!) $genhtmltree Documents/Prose/MyProse/Stories >rexx.trace 2>&1 89 *-* address hostemu 'execio' html.0 'diskw "/home/leslie/html/private/'directory.d'/index.html" (finis stem html.' >>> "execio 34 diskw "/home/leslie/html/private/Documents/Prose/MyProse/Stories/index.html" (finis stem html." +++ "RC(20)" GenHtmlTree failed at statement 89: address hostemu 'execio' html.0 'diskw "/home/leslie/html/private/'directory.d'/index.html" (finis stem html.' with return code 20 and Linux error# 2 (Unknown). I notice that no matter what the error# is, sysGetErrNoMsg() seems to return "Unknown". (See my post, "Question about Open Object Rexx Unix Extensions", in which a program returns error# 22.) Leslie ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ Oorexx-users mailing list Oorexx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-users