The following figure shows the syntax of SysPutEA:

Syntax:  SysPutEA(file, name, variable)

where

file         File name containing the extended attribute.
name         Name of the extended attribute, for example, .ICON.
variable     New value of the extended attribute.

The following sample code fragments creates a new extended attribute called MYATTRIBUTE and adds a comment to it:

/* */
call RxFuncAdd "SysLoadFuncs", "rexxutil", "SysLoadFuncs"
call SysLoadFuncs

SysPutEA('c:\myattr.cmd', MYATTRIBUTE, 'This is my attribute!!!!!')


[Back] [Next]