Applying Network Defaults to Jobs (Mass Update)

#### Search Results

Search

# Applying Network Defaults to Jobs (Mass Update)

| Warning: Use this function with extreme care. Individual job definitions can be easily overwritten by mistake. You are not asked to confirm each update and cannot undo any changes.

You can perform a mass-update of job fields within a network provided you have write permission for networks in your user profile (see Network Maintenance Functions in the Administration documentation).

The mass update function copies values of specified network fields as default values to all jobs of a selected network.

The default values of the default network fields are also used when creating a new job.

To apply defaults modified in the network definition to all jobs in the network

1. Choose PF9 (DfJb) in the Network Modification or Network Addition window.

   An Application of Network Defaults to Jobs screen like the example below appears:

       Owner EXAMPLE    Network B60-FLOW   Version
       Application of Network Defaults to Jobs

       C Field              old        new         C Field     old   new
       _ Symbol Table                  EXAM-ST1    _ Exec Node N0082 N0031
       _ SymTab Version                            _ JCL  Node N0194 N0031
       _ JCL    User ID                            _ JCL  Loc        NAT
       _ JCL    Group                              _ Esc  Act  #
       _ Submit User ID                            _ Esc  Sub
       _ Submit Group                              _ Job  Prio
       _ BS2000 Def.User ID            NOP         _ Run  Prio
       _ BS2000 Job Class                          _ EJA  E-M        N
       _ BS2000 Acct.Number
       _ SYSOUT User ID
       _ SYSOUT Cat  ID
       A Modifying User     (all)      SAG
       _ File
         old EOR-T411
         new EOR-T521

        S only if same old  A all
       ------------------------------------------------------------------------------
       PF1 Help      PF3 End

   The Field column lists all fields that can be copied to all jobs that belong to the network.

   The field values relevant for a mass update are listed in the Old and New columns.

   For more information on the columns and the fields available on the screen, see Columns: Application of Network Defaults to Jobs and Fields: Application of Network Defaults to Jobs.

2. In the C column, next to the field whose value you want to replace in the jobs, enter the required line command: see Commands: Application of Network Defaults to Jobs. Leave the C column empty for a value you do not want to replace.

3. Press ENTER when you are finished.

   The command(s) are executed and specified values are copied from the network fields to the corresponding job fields, if requested by the command.

   A message is returned indicating the number of jobs that have been modified.

For each job for which field values were replaced, the name of the field and the new field value are listed in the Entire Operations log with a message like `Network default Activation Escape @ applied`. See also Displaying Logged Information in the section Log Information.

## Columns: Application of Network Defaults to Jobs

The columns of the Application of Network Defaults to Jobs screen are described in the following section:

Column | Description
--- | ---
C | Line command input field. Enter a valid line command or leave the field empty: see Line Commands: Application of Network Defaults to Jobs.
Field | Network field whose value can be used as the default for all jobs that belong to the selected network. New field values indicated in the New column can be copied into the corresponding fields of all jobs that belong to the selected network. See also Fields: Application of Network Defaults to Jobs below.
Old | Contains the value saved from the last change of a network field.
New | Contains the current value in the network field.

### Fields: Application of Network Defaults to Jobs

The following table lists all fields on the Application of Network Defaults to Jobs screen and the corresponding network fields. The table also indicates the names of job fields if different from the names of the network fields.

All network fields are described in detail in Fields and Commands: Network Definition.

Field to Copy | Corresponding Network Field | Remark
--- | --- | ---
Exec Node | Execution Node |
JCL Node | JCL Node |
JCL Loc | JCL Location |
Esc Act | Escape Act Job field: Escape Characters: Activation |
Esc Sub | Escape Sub Job field: Escape Characters: Submit |
Job Prio | Job Priority | Applies to BS2000 only.
Run Prio | Run Priority | Applies to BS2000 only.
EJA E-M | End-of-Job Action Errors set 'not ok' Conditions |
Symbol Table | Symbol Table |
SymTab Version | Symbol Table Version |
JCL User ID | JCL User ID |
JCL Group | JCL Group | Applies to UNIX/Windows only.
Submit User ID | Submit User ID |
Submit Group | Submit Group | Applies to UNIX/Windows only.
BS2000 Def.User ID | Default User ID | Applies to BS2000 only.
BS2000 Job Class | Job Class | Applies to BS2000 only.
BS2000 Acct.Number | Account Number | Applies to BS2000 only.
SYSOUT User ID | SYSOUT User ID | Applies to BS2000 only.
SYSOUT Cat ID | SYSOUT Cat ID | SYSOUT Catalog ID. Applies to BS2000 only.
Modifying User | Job field: Mod | ID of the user who last modified a job.
File | File Job field: File/NatLib |

## Commands: Application of Network Defaults to Jobs

The line commands and PF keys available to copy new default field values to jobs on the Application of Network Defaults to Jobs screen are described in the following table.

The commands allow you to distinguish between jobs with network default definitions and jobs with individual definitions.

Line Command | Description
--- | ---
`A` | Replace all field values. Replace all values regardless of whether they are default settings or individual job definitions. This is the default setting for Modify User. The value `(all)` indicates that the Mod field in the job is always overwritten, regardless of the command used for function execution. The Mod contains the ID of the user who last modified a job definition.
`S` | Replace specific field values only. Replace the value only if the value in the Old column matches the current value in the corresponding job field. All other field values remain unchanged. Example: The value in the Old column for Execution Node is `10`, and the value in the New column is `20`. The Execution Node field of all jobs currently containing `10` changes to `20`. All other execution node numbers remain as they are.
empty column | Replace no field value. Leave the line command field empty for a value you do not want to replace in a job field. A field value is not replaced when the C column is empty. This is the default for all values except Modify User.

### On this page

- Columns: Application of Network Defaults to Jobs
- Commands: Application of Network Defaults to Jobs