CATCHALL TASK Submitted by J.A. LEES TEXACO U.S.A. P.O. Box 430 4800 Fournace Place Bellaire, TX 77401 This version (CAT.MAC) of the catchall task lets you use DCL commands at an MCR terminal. It first checks for special commands. If it does not match one of these, it passes the command line to DCL. The special commands in this version of CAT.MAC include: CLR - Clear the screen CHD - DCL SET/SHO DEFAULT $ - Indirect to library: $XXX does an @[ggg,mmm]XXX You may add other special commands, using the table-driven parser format. See the I/O operations reference manual for full details. Note that there are a few commands common to MCR and DCL (SET,MOU,MAC..) These will be processed as MCR commands. To use CAT, assemble it as you would a privileged task: MAC CAT,CAT=LB:[1,1]EXEMC/ML,[11,10]RSXMC/PA:1,SY:[ggg,mmm]CAT Then build it using the indirect command file CATBLD: TKB @CATBLD CATBLD.CMD contains the following parameters: CA.DBG Set to 1 for command type-out, 0 for no type-out CA.UIC Command file library UIC The format of CA.UIC is as in [1,24]ICMFSLBLD - See also the MCR Operations manual, page 4-4. It is currently set up for [1,10]. Then install CAT on your system. EXAMPLES (With TI: set up for MCR) DIR X*.* A DCL directory command $XXX YYY Executes [1,10]XXX.CMD with parameter YYY SET TE LOWER Syntax error - taken as an MCR command CHD DR0:1,10 Sets default disk to DR0:, directory to [1,10]