How to run the mass update utility
About this task
If you need to make many updates to application or job descriptions, consider using the mass update function to perform the updates to the database in batch. Perform mass updates in trial mode first. Trial mode produces a report from which you can verify the proposed changes before submitting the request in update mode, which implements the changes in the application description database.
This
example shows how you might use the panel to change the priority of
all Paymore applications (which have an OWNER ID of SAMPLE) from priority
5 to priority 4, or simply make a list of applications that have priority
5:
- Select option 5 from the MAINTAINING APPLICATION DESCRIPTIONS or MAINTAINING JOB DESCRIPTIONS menu to display the panel in EQQAUPDL - Mass updating of application description.
- Enter the CLEAR command on the command line to delete pending updates that you no longer need.
- Scroll down through the list of items that can be modified using
the mass update function. You can update these data items:
- GEN
- General information
- RUN
- Run cycle definitions
- OPR
- Operation data
- INT
- Internal predecessors
- EXT
- External predecessors
- Type
s
beside GEN – PRIORITY and press Enter. The UPDATING DATA ITEM panel, shown in EQQAUUGL - Updating data item, is displayed: - Enter the
S
row command to select a subset of applications. The SPECIFYING FILTER CRITERIA panel, shown in EQQAUFIP - Specifying filter criteria, is displayed: - Type
sample
in the OWNER ID field. You can also use global search characters to limit the scope of a change, typingsam*
, for example, for all IDs beginning with SAM. Press PF3 (End) to return to the UPDATING DATA ITEM panel. You now see the wordFilter
in the Target criteria column. - Enter
5
in the Old data field and4
in the New data field:
If you specify no old data value, all applications matching the filtering criteria that have the field defined are changed to the new data value. For example, if you specify a new value ofRow Target cmd criteria '' Filter Old data: 5 New data: 4
NEW.RESOURCE
for a resource name, and leave the old value blank, any operation with a resource defined will be updated with the new resource name: operations that did not originally have a resource defined remain unchanged.Note: If the old data string is found anywhere in the target field data, it is replaced by the new data string. If the new data string is longer than the old data string, the target field can be truncated, as shown in this example:Before the mass update:
- The target field is 8 bytes long.
- Three instances of the target field contain PAYUPD, PAYUPDAT, and UPDATE.
- Old data is UPD.
- New data is BKUP.
After the mass update:
- The updated fields contain PAYBKUP, PAYBKUPA, and BKUPATE respectively.
- Press PF3 (End). You return to the MASS UPDATING OF APPLICATION DESCRIPTION panel.
- When you request a trial run, a batch job is submitted that produces
a report of all specified pending updates without updating the database.
An update run generates a batch job that updates the database and
produces a report of all changed fields. Type
t
in the TYPE OF BATCH JOB field to specify a trial run, and press PF3 (End). The GENERATING JCL FOR A BATCH JOB panel, shown in EQQXSUBP - Generating JCL for a batch job, is displayed: - Check the report to see the applications that have been found with priority 5.
- To update the AD database, rerun the job, this time with
u
in the TYPE OF BATCH JOB field.
Note: If you want to use mass update to change operation
input arrival day or time, only those operations are changed where
all operations in the application already have a value in both fields.
You cannot leave these fields blank and then change them with mass
update. Also, note that with mass update, no check is made to ensure
that the deadline day and time is later than the operation input arrival
day and time.