Execute or Execload an Exec that resides in a non-accessed SFS directory Kent Fiala SAS Institute Inc. http://www.sas.com/ DIREXEC executes an EXEC specified by a fileid. Its primary use is to execute an exec from an SFS directory that may not accessed. In CMS Release 9 or later you can also execute an exec from a minidisk while bypassing the normal CMS search order. REXX and EXEC 2 execs are supported, but not EXEC 1 execs. FMEXEC executes an EXEC from a specific filemode. Its primary use is to bypass the standard CMS search order when two or more execs of the same name are accessed. REXX and EXEC 2 execs are supported, but not EXEC 1 execs. Both DIREXEC and FMEXEC can also be used to execute EXECs with a non-standard filetype, or to alter the initial command environment for an EXEC. Differences between FMEXEC and DIREXEC: 1. FMEXEC works in CMS Release 3 and later. DIREXEC requires at least CMS Release 6. 2. FMEXEC only works with accessed filemodes. In CMS Release 6 through Release 8, DIREXEC only works with SFS directory names. 3. In CMS Release 9 and later, DIREXEC works with both filemodes and directory names, thus superseding the need for FMEXEC. However, FMEXEC is simpler to use than DIREXEC for filemodes. DIRXLOAD execloads a file. Its operation is identical to that of the EXECLOAD command, with the addition that you can DIRXLOAD an exec from an SFS directory that may not necessarily be accessed. Authorship and distribution policy ================================== DIREXEC, DIRXLOAD, and FMEXEC were written by Kent Fiala of SAS Institute Inc., Cary NC 27513 USA. They are provided as-is without any warranty expressed or implied and are not supported by SAS Technical Support. Permission is granted to use, copy, and distribute these programs in any form as long as (1) this notice of authorship and distribution policy remain intact, (2) distribution is made without charge above and beyond any reasonable fee to cover costs in making and delivering the copy, and if accompanying another product does not contribute to the selling price of the product in any substantial way, and (3) no additional restrictions are imposed, either as to distribution or as to use. Files: DIREXEC README DIREXEC ASSEMBLE DIREXEC MODULE DIREXEC AUXVM DIREXEC UPDT0001 DIREXEC UPDT0003 DIREXEC HELPCMS DIREXEC -HLPCMS MAKEIT EXEC * FMEXEC MODULE FMEXEC ASSEMBLE FMEXEC HELPCMS FMEXEC -HLPCMS * DIRXLOAD ASSEMBLE DIRXLOAD MODULE DIRXLOAD HELPCMS DIRXLOAD -HLPCMS