Sample Jobs

#### Search Results

Search

# Sample Jobs

The following is a list of sample jobs provided for customization purposes in dataset PAC27n.DATA on the installation tape. Each job is prefixed with the operating system for which it is intended.

Prefixes are:

CMS | for VM/CMS
OS | for z/OS

The following is a list of the sample JCL texts supplied in data set PAC27n.DATA; a brief description of each text is given.

Sample Job | Description
--- | ---
<prefix>_ARCHIVE-RELOAD | For restoration events, restores archived Natural objects from a work file to CONTROL.
<prefix>_ARCHIVE-UNLOAD | For archiving events, copies Natural objects from CONTROL to a work file when the event is run.
<prefix>_BATCH-JCL | For execution of PAC requests, e.g., finalizes a completed archiving event.
<prefix>_COMPARE | For comparing Natural objects.
<prefix>_EXPORT-JCL | Copies a JCL text from the ACF to a work file.
<prefix>_IMPORT_JCL | Copies a JCL text from a work file to the ACF (and makes it into a PAC entity).
<prefix>_INCORPORATE | For migration events which use work files at the migration in stage, but do not use work files at the migration out stage (if they have one); can be used for handling Natural objects, error messages, and DDMs (for DDMs only immigration). The data set assigned to the work file would normally be produced by the NATUNLD utility.
<prefix>_INCORPORATE_WORKFILE | For migration events which use work files at both the migration in and at the migration out stages; can be used for handling Natural objects and error messages. The data set assigned to the migration work file would normally be produced by the NATUNLD utility.
<prefix>_MIGRATE | For migration events and retirements which do not use work files; can be used for handling Natural objects, error messages, DDMs, rules, and foreign objects; cannot be used for handling Predict objects.
<prefix>_MIGRATE_WORKFILE | For migration events and retirements which use work files; can be used for handling Natural objects, error messages, DDMs, rules, and foreign objects; cannot be used for handling Predict objects.
<prefix>_PREDICT_MIGRATE_IN | For Predict migration in events other than those of DDM or rule incorporation; DDMs may be generated in the course of such events. Note The Predict commands generated with this job use the value `'='` as input assign character (IA). If you are using Natural Security (NSC), you are strongly recommended to specify the same value in your NSC profile for the libraries SYSDICBE and SYSDIC. Otherwise the migration will fail.
<prefix>_PREDICT_MIGRATE_OUT | For Predict migration out events; cannot be used for DDM handling.
<prefix>_SYSTRANS_MIGRATE_IN | For migrating Natural Open System objects into PAC.
<prefix>_SYSTRANS_MIGRATE_OUT | For migrating Natural Open System objects out of PAC.
<prefix>_UNLOCK | For unlocking PAC Application locks.

If after an upgrade you have to change the JCL text names in many migration path records, you may find the SCANPATH utility helpful; it is described in the PAC Reference documentation.