![]() |
Reorganise an INF-catalogue
For the files / library elements / job variables marked with X, the documentations are copied from catalogue cat1 into catalogue cat2.
UPD cat2 is opened with OPEN=INOUT instead of OPEN=OUTPUT (default).
The Variable Action ONXICOPY ... is suitable for reorganising INF-catalogues. Often the INF catalogues still contains information texts for already deleted data objects. The data objects having information texts in the INF-catalogue can be selected with the User Option: INF Y. On the selected data objects the Variable Action ON&ICOPY cat1,cat2 is applied. The documentation for all still existing data objects are then transferred into a new INF-catalogue. The old catalogue (e.g. CFS.INF) can than be overwritten with the new catalogue.
Retaining the documentation for deleted data objects.
The original, not reorganised INF-catalogue is first exported to a SAM file using the command FC2 EXP:catalogue,file-a. Afterwards the INF-catalogue is reorganised (see above). Then the new, reorganised catalogue is also exported (FC2 EXP: catalogue,file-n). Both export files are now compared using the CFS-command COMP file-a, file-n. The resulting difference protocol contains the information texts for all deleted objects.