Previous Topic: Example RestrictionsNext Topic: Edit Aids


Using Source Directives to Duplicate Objects

Most application systems will have a certain number of objects, notably files, which are created directly from existing objects by using the command Create Duplicate Object (CRTDUPOBJ), or by the command Copy File (CPYF). The creation of the objects should be recorded as part of the system documentation, so that if the based-on object is changed, the duplicate object can be correctly re-created. One method of doing this is to use a spool reader. Another more flexible approach is to set up a source member for the duplicate object containing documentation and, instead of source, references in the *Y and *Z overrides to the based-on object.