From: Richard R. <ric...@ya...> - 2011-02-21 14:20:41
|
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 |