On Mon, Jul 15, 2013 at 1:51 PM, J. Leslie Turriff <
jlturr...@centurylink.net> wrote:

>         When I run this command in bash
>
>                 $rexx -e "say sysaccess(arg(1),22)" #some filename
>
> I get this response:
>
> REX0043E: Error 43 running INSTORE line 1:  Routine not found
> REX0417E: Error 43.1:  Could not find routine "SYSACCESS"
>
>         The ooRexx Language Reference says, "All of the RexxUtil functions
> are
> registered by the ooRexx interpreter on startup so there is no need to
> register the functions either individually or via the SysLoadFuncs
> function."
>         The  ooRexx Unix Extensions Reference does not make any statement
> concerning
> accessing the routines it describes.
>         Is there something that I need to do to make the SysAccess()
> function
> visible?
>


Yes, there is something you need to do.  The SysAccess() function is not
one of the RexxUtil functions.  You need to require the package / library
for SysAccess to work.

The Unix Extensions Reference states that in the Introduction chapter:

All the functions available in the RxUnixSys library require the program to
contain a ::requires
directive in the source code for the program using the function(s). The
statement should be coded as follows:

::requires "rxunixsys" LIBRARY


--
Mark Miesfeld
------------------------------------------------------------------------------
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

Reply via email to