How to Add a Command or EXEC Procedure to eMS You can create a module or EXEC procedure that executes in the user area and resides on disk. In order to execute such a co •• and or EXEC procedure, you only have to enter the filename from the terminal.
However, beaWare of the CKS search order for terminal input. Once a match is found, the search stops. The search order is:
1.EXEC file on any currently accessed disk.
2.Valid abbreviation for an EXEC file on any currently accessed disk.
3. Nucleus-resident or transient area coamand.
4.Command on any currently accessed disk.
5.Valid abbreviation or synonym for nucleus resident or transient
area command.
6.Valid abbreviation for disk-resident co •• and.
For example, if you create anEXEC file with the same name as a disk
resident command, theCKS search will always find the EXEC file first.
Thus, the disk resident command will neverget executed. CKS has a function table containing the names of CftS functions. CftS reserves the following na.es, all entries in the CftS FUNCTAB (found in DKSFNC), for its own use:
ATTNCARDPH CARDRD CKSTIKE CONREAD CONiAIT CP DEBUG DESBUF DKSCIOSI DKSERR DKSLADAD DKSPIOCC DKSPIOSI DftSSKNAT DKSVSR ERASE EXEC FETCH FINIS GENKOD INCLUDE LOAD LOADKOD POINT PRINTIO PRINTR RDBUF RETURN START STATE STATEW SUBSET SVCFREE SVCFRET TIPEIO TRAP TYPLIN WAIT WIITRD iRBUF Part 3. Conversational Konitor syste. (CftS) 269
However, be
1.
2.
3. Nucleus-resident or transient area coamand.
4.
5.
area command.
6.
For example, if you create an
resident command, the
Thus, the disk resident command will never
ATTN