Greetings all,
I am attempting to add a REXX script to the Rexx Macro space.
Code:
/* test of RexxMacro loads */
Call RxFuncAdd 'SysLoadFuncs','rexxutil','SysLoadFuncs';
Call SysLoadFuncs;
RC = SysAddRexxMacro('MACRO', 'macrotest.rex','B');
say 'RC from AddMacro='RC;
rc = macro('junk');
output:
rexx test.rex
RC from AddMacro=1
6 *-* rc = macro('junk');
REX0043E: Error 43 running /lpar/bfydump/test.rex line 6: Routine not found
REX0417E: Error 43.1: Could not find routine "MACRO"
cat macrotest.rex
/* a sample subroutine loaded into macro space */
SAY 'Called macrotest'
RETURN 0
Can some kind soul tell me what I am doing wrong? The REXX documentation
indicates the return from SysAddRexxMacro is the RexxAddMacro return code,
but I cannot find where those codes are defined.
I am running Open Object Rexx v4.1.0 under OpenSuse v11.3.
Thanx in advance
Rich
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Oorexx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-users