OS/2 Procedures Language 2/REXX


Inf-HTML [About][Toc][Index] 0.9b (c) 1995 Peter Childs


SysPutEA

 
 Function: SysPutEA 
 Syntax:   result = SysPutEA(file, name, value) 
      file      The file where the extended attribute will be written. 
      name      The name of the extended attribute. 
      value     The new value of the extended attribute. 
      result    The function result. If the result is 0, the extended 
                attribute has been written to the file. A non-zero result 
                is the OS/2 return code of the failing function. 
 Purpose:  Write a named extended attribute to a file. 
 

 Examples:
 
   /* Code    */
   type = "OS/2 Command File"
   typeinfo = "DFFF00000100FDFF'x || d2c(length(type)) || '00'x || type
   call SysPutEA "C:\CONFIG.SYS", "TYPE", typeinfo
 
 

Inf-HTML End Run - Successful