Lesson 5: Adding and Deleting UDC Files [ MPE V to MPE XL: Getting Started ] MPE/iX 5.0 Documentation
MPE V to MPE XL: Getting Started
Lesson 5: Adding and Deleting UDC Files
Long-time users of UDCs will be pleased to know that they can continue to
use UDCs in exactly the same manner as they always have. However, the
SETCATALOG command has added the new options ;APPEND and ;DELETE to make
the task of maintaining UDC files much easier.
Let us look at how a task is done in MPE V/E and how that same task can
be done in MPE XL.
Assume that you have a UDC directory with the cataloged files UDC1, UDC2,
UDC3, and UDC4.
;DELETE
To delete UDC2 from the directory, keeping UDC1, UDC3, and UDC4
cataloged:
MPE V/E
SETCATALOG udc1,udc3,udc4
MPE XL
SETCATALOG udc2;DELETE
or
SETCATALOG udc1,udc3,udc4
;APPEND
To add UDC2 back into the directory, where UDC1, UDC3, and UDC4 are
cataloged:
MPE V/E
SETCATALOG udc1,udc2,udc3,udc4
MPE XL
SETCATALOG udc2;APPEND
or
SETCATALOG udc1,udc2,udc3,udc4
NOTE The appended file (UDC2) is added to the end of the UDC directory
in the command SETCATALOG UDC2;APPEND.
Replacing Existing UDC Files
To replace existing UDC files in the directory with specified UDC files,
you would type:
SETCATALOG newudc1,newudc2,newudc3
Exercises
If the files TOKYO, LONDON, DALLAS, and LIMA were cataloged UDC files in
a UDC directory, show how you would do each of the following.
12. Delete LONDON, without affecting other cataloged files.
13. Add the UDC files MOSCOW, KENYA, and BRASILIA to the UDC directory
without affecting other cataloged files.
14. Replace existing UDC files in your UDC directory with the following
files: NEWYORK, BOSTON, BOMBAY, and ZURICH.
MPE/iX 5.0 Documentation