/**** REXX *****/ /* This command file will add or remove statements in the */ /* OS2.INI file to support DCAF. It is supplied "as is" with no */ /* warranty. After running this procedure, you must shut down */ /* and reboot your workstation to make the changes active. */ /******************************************************************/ /* LOOK CAREFULLY AT ALL THE COMMENTS FOR EACH SECTION. */ /* IT DESCRIBES THE DCAF VERSION FOR WHICH THE STATEMENT IS VALID */ /* JUST REMOVE THE LINES NOT NEEDED AND RUN IT */ /******************************************************************/ call rxfuncadd sysloadfuncs, rexxutil, sysloadfuncs call sysloadfuncs /********************************************************************/ /* Remove the attributes for being able to write OS2.INI */ /********************************************************************/ 'attrib -s -h -r C:\OS2\OS2.INI' /********************************************************************/ /*Add Autostart DCAF LAN Directory DCAF 1.1 and DCAF 1.2 */ /********************************************************************/ call SysIni 'USER', 'PM_Autostart', 'Distributed Console Access Facility\LAN Directory for the DCAF', '1' /********************************************************************/ /*Add Autostart DCAF Gateway DCAF 1.1 DCAF 1.2 */ /********************************************************************/ call SysIni 'USER', 'PM_Autostart', 'Distributed Console Access Facility\Gateway Initialization for the DCAF', '1' /********************************************************************/ /* Add Autostart DCAF Gateway DCAF 1.3 */ /********************************************************************/ call SysIni 'USER', 'PM_Autostart', 'Distributed Console Access Facility\DCAF Gateway Initialization', '1' /********************************************************************/ /*Changes for DCAF OS/2 Target DCAF 1.1 DCAF 1.2 DCAF 1.3 */ /********************************************************************/ call SysIni 'USER', 'PMGRE', 'DISPLAYHOOK', 'EQNPMGRE' call SysIni 'USER', 'PM_ED_HOOKS', 'MODULENAME', 'EQNPMGRE' call SysIni 'USER', 'SYS_DLLS', 'Load', 'EQNCLHOT' /********************************************************************/ /*Delete Autostart DCAF LAN Directory DCAF 1.1 and DCAF 1.2 */ /********************************************************************/ call SysIni 'USER', 'PM_Autostart', 'Distributed Console Access Facility\LAN Directory for the DCAF', 'DELETE:' /********************************************************************/ /*Delete Autostart DCAF Gateway DCAF 1.1 DCAF 1.2 */ /********************************************************************/ call SysIni 'USER', 'PM_Autostart', 'Distributed Console Access Facility\Gateway Initialization for the DCAF', 'DELETE:' /********************************************************************/ /* Delete Autostart DCAF Gateway DCAF 1.3 */ /********************************************************************/ call SysIni 'USER', 'PM_Autostart', 'Distributed Console Access Facility\DCAF Gateway Initialization', 'DELETE:' 'attrib +s +h +r C:\OS2\OS2.INI'