Cross-References

The Cross-References function is used to cross-check the use of individual Entire Operations objects and produce a report from the data found.

This section describes how to generate cross-reference reports in online and batch mode.

Related Topic:


Types of Cross-Reference Reports

The types of cross-references you can select from the Cross-References menu are described in the following table.

Report Type Description
Exit Usage Lists user exits defined in your environment.

See also Example of User Exit Usage.

Symbol Table Usage Lists symbol tables used in networks and jobs.

Note:
The cross-reference for symbol tables includes the symbol table usage for input conditions and for End-of-Job symbol settings.

See also Example of Symbol Table Usage.

Symbol and Symbol Value Search Lists symbols that match a specified value.

See also Example of Symbol and Symbol Value Search.

JCL Usage Lists JCL files used in networks and jobs.

See also Example of JCL Usage.

Node Usage Lists JCL nodes and execution nodes used in networks.

See also Example of Node Usage.

Resource Usage Lists resources used by active jobs.

See also Example of Resource Usage.

List Undefined Objects Lists objects that are referenced by other objects which are not defined in your environment.

The missing definition of these objects might lead to errors during network activation.

Note:
JCL is not inspected for undefined symbols.

See also Example of List Undefined Objects.

Generating Cross-Reference Reports Online

This section describes how to generate cross-reference reports online.

Report data is evaluated for the current day.

Start of instruction set To generate a cross-reference report

  1. From the Main Menu, choose Cross-References and press ENTER.

    Or:
    In the Command field of the Main Menu, type Option Code 9 or type XREF (see Direct Commands) and press ENTER.

    Or:
    You can skip this step if you know the number of the report type (for example, 7 for Resource Usage) you want to generate:

    In the Command field of the Main Menu, type Option Code 9.7 and press ENTER.

    A Cross-References menu similar to the example below appears:

     19.11.18                ***** Entire Operations *****                13:33:19 
     Owner EXAMPLE                 Cross-References                User ID SAG     
     ------------------------------------------------------------------------------
                                                                                   
          Cross-References                                                         
                                                                                   
       1  Exit Usage                                                               
       2  Symbol Table Usage                                                       
       3  Symbol and Symbol Value Search                                           
       4  JCL Usage                                                                
       5  Node Usage                                                               
       6  Resource Usage                                                           
       7  List Undefined Objects                                                   
                                                                                   
                                                                                   
                                                                                   
                                                                                   
                                                                                   
                                                                                   
                                                                                   
     Command => ____________________________________________________________       
                                                                                   
                                                                                   
    Enter-PF1---PF2---PF3---PF4---PF5---PF6---PF7---PF8---PF9---PF10--PF11--PF12---
          Help        End                                                   Menu

    The menu displays a list of selectable report types.

  2. Select the type of cross-reference for which you want to generate a report and press ENTER.

    Depending on the report type selected, proceed as described in the relevant step for:

    Exit Usage
    Symbol Table Usage
    Symbol and Symbol Value Search
    JCL Usage
    Node Usage
    Resource Usage
    List Undefined Objects

  3. Exit Usage: If you select Exit Usage from the Cross-References menu and press ENTER, a window similar to the example below opens:

    +-----------------------------------------------+
    !                                               !
    !      Send Output to Printer ?  N (Y/N)        !
    !                                               !
    +-----------------------------------------------+

    Enter Y (Yes) or N (No) and press ENTER. N is the default setting.

    A screen similar to the example below appears:

     17.10.18                ***** Entire Operations *****                14:36:11 
                                       Exit Usage                                  
     ------------------------------------------------------------------------------
     Please mark one or several Types.                                             
                                                                                   
     Cmd  Type                                                                     
                                                                                   
     _    Input Condition Exits                                                    
     _    Resource Master Determination Exits                                      
     _    Master JCL and Natural Programs                                          
     _    End-of-Job Check Exits                                                   
     _    End-of-Job Action Exits                                                  
     _    Symbol Check Exits                                                       
     _    Symbol Prompt Exits                                                      
                                                                                   
                                                                                   
     Command => ____________________________________________________________       
                                                                                  
                                                                                   
    Enter-PF1---PF2---PF3---PF4---PF5---PF6---PF7---PF8---PF9---PF10--PF11--PF12---
                      End

    Mark one of the fields to select the cross-reference you want to display and press ENTER.

    A report output screen with a list of used user exits appears as shown in Example of User Exit Usage.

    If MORE appears at the top of the report screen, press ENTER to display additional pages of the report.

    Choose PF3 to exit the report screen.

  4. Symbol Table Usage: If you select Symbol Table Usage from the Cross-References menu and press ENTER, a screen similar to the example below appears:

    15.10.18                ***** Entire Operations *****                18:00:12 
                                                                                  
                     Symbol Table Usage                                           
                                                                                  
    Owner        ==> __________   (Blank for all, * for selection                 
    Symbol Table ==> __________   or * and PF4 to process all                     
    Version      ==> __________   matching objects)                               
                                                                                  
    Usage in active jobs  ==> N   (Y/N)                                           
                                                                                  
    Destination           ==> 1                                                   
       1 - Screen  2 - Printer  3 - PC  4 - PC-CSV                                
    ---PF1------PF3------PF4------------------------------------------------------
       Help     End      Apply

    Enter the selection criteria required for the report to be produced. For valid input values, see Fields and Columns: Cross-References.

    When you are finished, choose PF4.

    A report output screen with a list of used symbol tables appears as shown Example of Symbol Table Usage.

    If MORE appears at the top of the report screen, press ENTER to display additional pages of the report.

    Choose PF3 to exit the report screen.

  5. Symbol and Symbol Value Search: If you select Symbol and Symbol Value Search from the Cross-References menu and press ENTER, a screen similar to the example below appears:

                          Symbol and Symbol Value Search                     
                                                                             
    Owner        ==> __________            (Blank for all, * for selection   
    Symbol Table ==> __________             or * and PF4 to process all      
    Version      ==> __________             matching objects)                
                                                                             
    Symbol       ==> ________________________________________                
    Mult.value index:  From ==> ___   To ==> *__                             
    Usage in:  Master ==> _  Active ==> _                                    
                                                                             
                                                                             
    Case sensitive ==> _                                                     
                                                                             
    Scan for ==> ____________________________________________________________
                 1...+...10....+...20....+...30....+...40....+...50....+...60
                                                                             
    Destination    ==> 1                                                     
       1 - Screen  2 - Printer  3 - PC  4 - PC-CSV                           
    ---PF1------PF3------PF4-------------------------------------------------
       Help     End      Apply

    Enter the selection criteria required for the report to be produced. For valid input values, see Fields and Columns: Cross-References.

    When you are finished, choose PF4 (see also Confirming Selections in the section Reporting).

    A report output screen with a list of used symbols appears as shown in Example of Symbol and Symbol Value Search.

    If MORE appears at the top of the report screen, press ENTER to display additional pages of the report.

    Choose PF3 to exit the report screen.

  6. JCL Usage: If you select JCL Usage from the Cross-References menu and press ENTER, a window similar to the example below opens:

    +---------------------------------------------------------------------------+
    !                                                                           !
    !                                JCL Usage                                  !
    !                                                                           !
    !  Enter selection criteria (with * Wildcard) or blank for all              !
    !                                                                           !
    !  File/Natlib    : ______________________________________________________  !
    !  Member         : ________                                                !
    !  JCL Location   : ___                                                     !
    !                                                                           !
    !                                                                           !
    !  Enter------PF3---------------------------------------------------------  !
    !             End                                                           !
    +---------------------------------------------------------------------------+

    Enter the selection criteria required for the report to be produced. For valid input values, see Fields and Columns: Cross-References.

    When you are finished, press ENTER.

    An additional window similar to the example below opens:

    +--------------------------------------------------------------+
    |                                                              |
    |  JCL Usage                                                   |
    |                                                              |
    |  Owner......: EXAMPLE___    (Blank for all, * for selection  |
    |  Network....: B60-FLOW__     or * and PF4 to process all     |
    |  Version....: __________     matching objects)               |
    |                                                              |
    |                                                              |
    |  Destination: 1                                              |
    |     1 - Screen  2 - Printer  3 - PC  4 - PC-CSV              |
    |                                                              |
    | Enter-PF1---PF2---PF3---PF4---PF5---PF6---PF7---PF8---PF9--- |
    |       Help        End   Apply Accpt                          |
    +--------------------------------------------------------------+

    Use the input fields to specify selection criteria for the report to be produced as described in Fields and Columns: Cross-References.

    When you are finished, choose PF4 or PF5 (see also Confirming Selections in the section Reporting).

    A report output screen with a list of used JCL appears as shown in Example of JCL Usage.

    If MORE appears at the top of the report screen, press ENTER to display additional pages of the report.

    Choose PF3 to exit the report screen.

  7. Node Usage: If you select Node Usage from the Cross-References menu and press ENTER, a window similar to the example below opens:

    +---------------------------------------------------------------------------+
    !                                                                           !
    !                                Node Usage                                 !
    !                                                                           !
    !  JCL Node        ==> _____     (Blank for all                             !
    !  Execution Node  ==> _____     or * for selection)                        !
    !                                                                           !
    !  Usage in master or active jobs ==> M  ('M' -  Master; 'A' - Active)      !
    !                                                                           !
    !  Enter------PF3---------------------------------------------------------- !
    !             End                                                           !
    !                                                                           !
    !                                                                           !
    +---------------------------------------------------------------------------+

    Enter the selection criteria required for the report to be produced. For valid input values, see Fields and Columns: Cross-References.

    When you are finished, press ENTER.

    An additional window similar to the example below opens:

    +--------------------------------------------------------------+
    |                                                              |
    |  Node Usage                                                  |
    |                                                              |
    |  Owner......: EXAMPLE___    (Blank for all, * for selection  |
    |  Network....: B60-FLOW__     or * and PF4 to process all     |
    |  Version....: __________     matching objects)               |
    |                                                              |
    |                                                              |
    |  Destination: 1                                              |
    |     1 - Screen  2 - Printer  3 - PC  4 - PC-CSV              |
    |                                                              |
    | Enter-PF1---PF2---PF3---PF4---PF5---PF6---PF7---PF8---PF9--- |
    |       Help        End   Apply Accpt                          |
    +--------------------------------------------------------------+

    Enter the required selection criteria. For valid input values, see Fields and Columns: Cross-References.

    When you are finished, choose PF4 or PF5 (see also Confirming Selections in the section Reporting).

    A report output screen with a list of used nodes appears as shown in Example of Node Usage.

    If MORE appears at the top of the report screen, press ENTER to display additional pages of the report.

    Choose PF3 to exit the report screen.

  8. Resource Usage: If you select Resource Usage from the Cross-References menu and press ENTER, a window similar to the example below opens:

    +------------------------------------------------------+
    |                                                      |
    |  Resource Usage                                      |
    |                                                      |
    |  Resource...: ____________________                   |
    |  (Blank for all, * for selection                     |
    |   or * and PF4 to process all                        |
    |   matching objects)                                  |
    |                                                      |
    |                                                      |
    |                                                      |
    |                                                      |
    |                                                      |
    | Enter-PF1---PF2---PF3---PF4---PF5---PF6---PF7---PF8- |
    |       Help        End   Apply Accpt                  |
    +------------------------------------------------------+

    Specify the resource(s) to be checked: for valid input values, see the Resource field described in Fields: Cross-References.

    When you are finished, choose PF4 or PF5 (see also Confirming Selections in the section Reporting).

    An additional window similar to the example below opens:

    +--------------------------------------------------------------+
    |                                                              |
    |  Resource Usage                                              |
    |                                                              |
    |  Owner......: __________    (Blank for all, * for selection  |
    |  Network....: __________     or * and PF4 to process all     |
    |  Version....: __________     matching objects)               |
    |                                                              |
    |                                                              |
    |  Destination: 1                                              |
    |     1 - Screen  2 - Printer  3 - PC  4 - PC-CSV              |
    |                                                              |
    | Enter-PF1---PF2---PF3---PF4---PF5---PF6---PF7---PF8---PF9--- |
    |       Help        End   Apply Accpt                          |
    +--------------------------------------------------------------+
    

    Enter the selection criteria required for the report to be produced. For valid input values, see Fields and Columns: Cross-References.

    When you are finished, choose PF4 or PF5 (see also Confirming Selections in the section Reporting).

    A report output screen with a list of used resources appears as shown in Example of Resource Usage.

    Press ENTER to display additional pages of the report (if available). Choose PF11 or PF10 to scroll right or left in the screen.

    Choose PF3 to exit the report screen.

  9. List Undefined Objects: If you select List Undefined Objects from the Cross-References menu and press ENTER, a window similar to the example below opens:

    +---------------------------------------------------------------------------+
    |                                                                           |
    |                  List Undefined Objects                                   |
    |                                                                           |
    |  Mark the referenced object types to be inspected                         |
    |                                                                           |
    |  Symbol        : X              Network     : X                           |
    |  Symbol Table  : X              Job         : X                           |
    |  Resource      : X              Schedule    : X                           |
    |  Calendar      : X                                                        |
    |                                                                           |
    |  Enter------PF3---------------------------------------------------------  |
    |             End                                                           |
    +---------------------------------------------------------------------------+

    All object types for which you can search are selected by default. Deselect the object type(s) you do not require by entering a blank character in the corresponding input field.

    When you are finished, press ENTER.

    An additional window similar to the example below opens:

    +--------------------------------------------------------------+
    |                                                              |
    |    List Undefined Objects                                    |
    |                                                              |
    |  Owner......: __________    (Blank for all, * for selection  |
    |  Network....: __________     or * and PF4 to process all     |
    |  Version....: __________     matching objects)               |
    |                                                              |
    |                                                              |
    |  Destination: 1                                              |
    |     1 - Screen  2 - Printer  3 - PC  4 - PC-CSV              |
    |                                                              |
    | Enter-PF1---PF2---PF3---PF4---PF5---PF6---PF7---PF8---PF9--- |
    |       Help        End   Apply Accpt                          |
    +--------------------------------------------------------------+
    

    Enter the selection criteria required for the report to be produced. For valid input values, see Fields and Columns: Cross-References.

    When you are finished, choose PF4 or PF5 (see also Confirming Selections in the section Reporting).

    A report output screen with a list of used undefined objects appears as shown in Example of List Undefined Objects.

    Press ENTER to display additional pages of the report (if available), or choose PF3 to exit the report screen.

Fields and Columns: Cross-References

The input fields for specifying selection criteria and output options for the cross-reference report to be produced are explained in the following table. The input fields correspond to the columns contained on the report output screen.

Depending on the report type (to be) produced, the following fields and columns are available:

Field/Column Explanation
Owner Name of an owner or a range of names.

Specify a valid name or range (see Specifying Filter Criteria) or open a selection window with a list of names.

Leave the field blank to select all names.

Network Name of a network or a range of names.

Specify a valid name or range (see Specifying Filter Criteria) or open a selection window with a list of names.

Leave the field blank to select all names.

Network Version Name of a network version or a range of names.

Specify a valid name or range (see Specifying Filter Criteria) or open a selection window with a list of names.

Leave the field blank to select all names.

Symbol Table Name of a symbol table or a range of names.

Specify a valid name or range (see Specifying Filter Criteria) or open a selection window with a list of names.

Leave the field blank to select all names.

Symbol Table Version Version of the specified symbol table.
Destination See Report Output Options in the section Reporting.
Resource Name of a resource or a range of names.

This can reflect real resources or can describe a fictitious resource.

Specify a valid name or range (see Specifying Filter Criteria) or open a selection window with a list of names.

Leave the field blank to select all names.

Exit Usage reports only:
Job Name of the job using the user exit.
ExitLib Name of the library that contains the user exit.
Exit Name of the user exit.
Enabled Indicates whether the user exit is enabled (Y) or disabled (N) depending on the type of user exit selected.
BG This column is only shown for symbol prompt exits. It indicates whether symbol prompting runs in the background:
Y Symbol prompting runs in the background.
N A window prompts the user for input.
B Performs both opens a prompt window and then runs prompting in the background.

See also Specifying User Exits for Symbol Modification.

Type Type of user exit(s) to be selected:

Input condition exits
Resource master determination exits
Master JCL and Natural programs
End-of-Job (EOJ) check exits
End-of-Job (EOJ) action exits
Symbol check exits
Symbol prompt exits

Symbol Table Usage reports only:
Usage in active jobs Jobs to be searched.
Possible values:
N Selects job masters only (default).
Y Selects both job masters and active jobs.
JCL Usage reports only:
JCL Location A supported JCL location.

All possible locations are described in List of JCL Locations in the section Job Maintenance.

Leave the field blank to select all locations.

File/Natlib Name of a file or Natural library or a range of names.

Specify a valid name or range (see Specifying Filter Criteria). Your range specification can contain more than one leading or trailing asterisk (*).

Member Name of a member or a range of names.

Specify a valid name or range (see Specifying Filter Criteria) or open a selection window with a list of names.

Node Usage reports only:
JCL Node Name of a JCL node.

Enter an asterisk (*) to select a name from a list.

Execution Node Name of an execution node or a range of names.

Leave the field blank to select all names.

Usage in master or active jobs Jobs to be selected.
Possible values:
M Selects job masters only (default).
A Selects active jobs only.
Symbol and Symbol Value Search reports only:
Symbol Symbol for which to search.

Leave the field blank to select all symbols.

Usage in: Master/Active Symbols in which to search.

Mark Master (default) and/or Active with any character to search in master symbols, active symbols, or in both.

Mult. value index: From/To Index range for symbols to which multiple values are assigned.

From: Minimum index value in the range from 1 through 100

To: Maximum index value in the range from 1 through 100 or * for all multiple values available

Default range: 1 to *
At position Position within the symbol value to be searched.
Possible input values:
* Anywhere within the symbol value (default)
nn At the exact position:

nn is any value in the range from 1 through 80

at beginning At the beginning of the symbol value
E At the end of the symbol value
Scan for Scan value.

Searches in a symbol value for a string of up to 60 characters

Case sensitive Mark this option with any character to perform a case-sensitive search.
Undefined Objects reports only:
This report inspects specified objects (symbol, symbol, table, resource, calendar, network, job and/or schedule) to determine which objects are referenced but not defined in your environment.

Note:
We recommend that you view this report in Entire Operations GUI Client which provides a graphical structure that helps interpret the output more easily.

The columns in the GUI report are arranged in hierarchical order of object types from left (superior objects) to right. The corresponding items in the CUI report are arranged in a reverse order (subordinate object first).

Resource Usage reports only:
Type Type of resource.
Possible values:
U Not reusable, quantitative.
R Reusable, quantitative.
N Not quantitative (absolute).
Initial Qty Initial quantity.

Total amount of the resource defined to the system.

Used Qty Used quantity.

Amount of resource currently used by running job.

Used by Owner The active job, used by owner.
Used by Network The active job, used by network.
Run Run job.
Job Active job.
Start usage Date and time of the allocation.

(If this column is not displayed, use PF11 to scroll to the right of the screen.)

See also Date and Time Formats.

Examples of Cross-Reference Reports

This section contains examples of all types of reports you can generate with the Cross-References function:

Example of User Exit Usage

The following is an example of a cross-reference report for Exit Usage:

22.01.20                ***** Entire Operations *****                16:11:49
                            Input Condition Exits                            
                                                                             
Owner      Network    Version    Job        ExitLib  Exit                    
---------- ---------- ---------- ---------- -------- --------                

EXAM-IM2   E50-USRT              E50-J1-IC  SYSEORU  URD-UIC
EXAMPLE    E50-USRT              E50-J1-IC  SYSEORU  URD-UIC
EXAMPLE    E50-USRTFX            E50-J1-IC  EOR-T531 IRD-UIC
EXAMPLE    E53-ICSYM             J-A        2E53-ICS EX001759
EXAMPLE    E53-ICSYM             J-B        3E53-ICS EX001759
EXAMPLE    E53-ICSYM             J-C        3E53-ICS EX0001782
EXAMPLE    E53-ICSYM             J-D        1E53-ICS EX0001784
EXAMPLE    Z80-SYMPRO            J-A        2E53-ICS EX001759

All user exits of the specified type (here: input condition) and the jobs that reference these exists are listed in the report.

The columns contained in the report are described in Fields and Columns: Cross-References.

Example of Symbol Table Usage

The following is an example of a cross-reference report for Symbol Table Usage:

               MORE
 22.01.20    Entire Operations    16:24:05         
             Symbol Table Usage  Page    1         
                                                   
                                                   
   Owner         EXAMPLE                           
   Symbol Table  ADMIN                             
   Version                                         
                                                   
Owner      Network    Version    Run     Job       
---------- ---------- ---------- ------- ----------
EXAMPLE    ADMIN                         JOB-1     
EXAMPLE    ADMIN                         MULTI     
EXAMPLE    ADMIN                         SYM-FCT   
EXAMPLE    ADMIN                         TEST      
EXAMPLE    ADMIN                         XSETVBO   
EXAMPLE    ADMIN2                        EORLOGAN  
EXAMPLE    ADMIN2                        LOGSELECT 
EXAMPLE    ADMIN2                        SHUTDOWN  
EXAMPLE    B60-FLOW                      JOB-021

All networks and jobs that use the specified symbol table are listed in the report.

The columns contained in the report are described in Fields and Columns: Cross-References.

Example of Symbol and Symbol Value Search

The following is an example of a cross-reference report for Symbol and Symbol Value Search:

MORE                                                                           
 23.01.20                ***** Entire Operations *****                08:56:40 
                         Symbol and Symbol Value Search             Page     1 
                                                                               
                                                                               
Owner      Symbol Table Symbol                MV F Network      Run Symbol Valu
---------- ------------ -------------------- --- - ---------- ----- -----------
EXAMPLE    EXA-SYMBOL   CLASS                    A                  S          
EXAMPLE    EXA-SYMBOL   JOBLIB                   A                  SAGLIB.EOR1
EXAMPLE    EXA-SYMBOL   MSGCLASS                 A                  A          
EXAMPLE    EXA-SYMBOL   MULTI-SYMBOL-1         1 A                  ddddd      
EXAMPLE    EXA-SYMBOL   UID                      A                  EXAMPLE    
EXAMPLE    EXA-SYMBOL   CLASS                    A                  S          
  Version: SV98                                                                
EXAMPLE    EXA-SYMBOL   DARMSTADT LILIES         A                  golden-goal

All symbols defined in the specified symbol table are listed in the report.

The columns contained in the report are described in Fields and Columns: Cross-References.

Example of JCL Usage

The following is an example of a cross-reference report for JCL Usage:

MORE                                                                           
23.01.20                       Entire Operations                    Page:     1
Owner: EXAMPLE                     JCL Usage                                   
Network    Version    Job        JCL Location/File/Member                      
---------- ---------- ---------- ----------------------------------------------
B60-FLOW              JOB-01     MAC/EOR-T551/B60-M02                          
B60-FLOW              JOB-012    MAC/EOR-T551/B60-M01                          
B60-FLOW              JOB-013    MAC/EOR-T551/B60-M01                          
B60-FLOW              JOB-014    MAC/EOR-T551/B60-M01                          
B60-FLOW              JOB-019    MAC/EOR-T551/B60-M01                          
B60-FLOW              JOB-02     MAC/EOR-T551/B60-M02                          
B60-FLOW              JOB-03     NAT/EOR-T551/B60-P01                          
B60-FLOW              JOB-04     MAC/EOR-T551/B60-M01                          
B60-FLOW              JOB-06     MAC/EOR-T551/B60-M02

All JCL files and referencing jobs are listed for the specified selection.

The columns contained in the report are described in Fields and Columns: Cross-References.

Example of Node Usage

The following is an example of a cross-reference report for Node Usage:

MORE                                                                     
 23.01.20               Entire Operations                     17:31:58   
               JCL node and/or Execution node usage          Page    1   
                                                                         
Owner      Network    Version    Job        Job Type   JCL Node Exec.Node
---------- ---------- ---------- ---------- ---------- -------- ---------
EXAMPLE    B60-FLOW              JOB-01     JOB        N0121    N0121    
EXAMPLE    B60-FLOW              JOB-012    JOB        N0121    N0121    
EXAMPLE    B60-FLOW              JOB-013    JOB        N0121    N0121    
EXAMPLE    B60-FLOW              JOB-014    JOB        N0121    N0121    
EXAMPLE    B60-FLOW              JOB-015    DUM        N0121    N0121    
EXAMPLE    B60-FLOW              JOB-019    JOB        N0121    N0121    
EXAMPLE    B60-FLOW              JOB-02     JOB        N0121    N0121    
EXAMPLE    B60-FLOW              JOB-03     NAT        N0121    N0121    
EXAMPLE    B60-FLOW              JOB-04     JOB        N0121    N0121    
EXAMPLE    B60-FLOW              JOB-05     DUM        N0121    N0121    
EXAMPLE    B60-FLOW              JOB-06     DAT        N0121    N0146

All nodes and referencing jobs are listed for the specified selection.

The columns contained in the report are described in Fields and Columns: Cross-References.

Example of Resource Usage

The following is an example of a cross-reference report for Resource Usage:

                                                Entire Operations: Resource Usa
-------------------------------------------------------------------------------
                           Initial       Used     used by                      
 Resource          Type        Qty        Qty Owner      Network      Run Job  
 DEA1-KEEP-01         R     100.00       3.00 SAG        RES-DEA1   25271 J03-K
 DEA1-KEEP-01         R     100.00       3.00 SAG        RES-DEA1   25272 J03-K
 DEA1-KEEP-01         R     100.00       3.00 SAG        RES-DEA1   25273 J03-K
 DEA1-KEEP-01         R     100.00       3.00 SAG        RES-DEA1   25274 J03-K
 DEA1-KEEP-01         R     100.00       3.00 SAG        RES-DEA1   25275 J03-K
 DEA1-KEEP-01         R     100.00       3.00 SAG        RES-DEA1   25276 J03-K
 DEA1-KEEP-01         R     100.00       3.00 SAG        RES-DEA1   25277 J03-K
 DEA1-KEEP-01         R     100.00       3.00 SAG        RES-DEA1   25278 J03-K
 DEA1-KEEP-01         R     100.00       3.00 SAG        RES-DEA1   25279 J03-K
 DEA1-KEEP-01         R     100.00       3.00 SAG        RES-DEA1   25280 J03-K
 DEA1-KEEP-01         R     100.00       3.00 SAG        RES-DEA1   25281 J03-K
 DEA1-KEEP-01         R     100.00       3.00 SAG        RES-DEA1   25282 J03-K
 DEA1-KEEP-01         R     100.00       3.00 SAG        RES-DEA1   25283 J03-K
 DEA1-KEEP-01         R     100.00       3.00 SAG        RES-DEA1   25284 J03-K
 DEA1-KEEP-01         R     100.00       3.00 SAG        RES-DEA1   25285 J03-K
 DEA1-KEEP-01         R     100.00       3.00 SAG        RES-DEA1   25286 J03-K
 ************************************ m o r e *********************************

                                                                               
Enter-PF1---PF2---PF3---PF4---PF5---PF6---PF7---PF8---PF9---PF10--PF11--PF12---
                  End                           Down        Left  Right Menu

All resources and referencing active jobs are listed for the specified selection.

The columns contained in the report are described in Fields and Columns: Cross-References.

Example of List Undefined Objects

The following is an example of a cross-reference report for List Undefined Objects:

14.01.20                      Entire Operations                       15:56:22
                           List Undefined Objects
            
  Symbol Table : SYMB-TEST,EXAMPLE referenced by
  Network : B60-FLOW,EXAMPLE 
                                     
  Network : SAGTEST,EXAMPLE referenced by
  Job Master : JOB-01 B60-FLOW,EXAMPLE
  Condition : COND-SW 

All objects that are referenced but not defined in your environment are listed in the report. In the example above, the following objects of the owner EXAMPLE are missing:

  • The symbol table SYMB-TEST is not defined but referenced by the network B60-FLOW.

  • The network SAGTEST is not defined but referenced in the input condition COND-SW of the job JOB-01 in the network B60-FLOW.

The fields contained in the report are described in Fields and Columns: Cross-References.

Generating Cross-Reference Reports in Batch

This section describes how to generate cross-reference reports in batch mode.

User Exit Cross-Reference Reports in Batch

Start of instruction setTo produce the user cross-reference report in batch

  • Run XRUR---P in a standard batch Natural job with LFILEs 131 and 216 assigned and printer file 1 correctly defined.

The program has no input parameters.

Symbol Table Cross-Reference Reports in Batch

Start of instruction setTo produce the symbol table cross-reference report in batch

  • Run XRSYT--P in a standard batch Natural job with LFILEs 131 and 216 assigned and printer file 1 correctly defined.

    Syntax:

    XRSYT--P
    owner-name,symbol-table-name,symbol-table-version,active-job

The program has one input:

  • Owner, Symbol Table, Symbol Table Version, Active Jobs

The following examples assume the Natural parameters IM=D, ID=,:

XRSYT--P
PROD,ABC*,*,M

This will produce a list of master symbol tables of owner PROD with names starting with ABC.

JCL Cross-Reference Reports in Batch

Start of instruction setTo produce the JCL cross-reference report in batch

  • Run XRJCL--P in a standard batch Natural job with LFILEs 131 and 216 assigned and printer file 1 correctly defined.

Syntax:

XRJCL--P
file/natlib,member,jcl-location
owner-name,network-name,network-version

The program has two inputs:

  1. File/Natlib, Member, JCL Location

  2. Owner, Network, Network Version (for future use)

The following examples assume the Natural parameters IM=D, ID=,:

Example 1:

XRJCL--P
PROD1.JOBLIB,IEB*
SYS*,W,*

This will produce a list of all jobs in networks with names less than W under owners beginning with SYS that use JCL members beginning with IEB in data set PROD1.JOBLIB.

Example 2:

XRJCL--P
SYS*,*,NAT
*,*,*

This will produce a list of all jobs which use JCL in Natural libraries beginning with SYS.

Node Cross-Reference Reports in Batch

Start of instruction setTo produce the node cross-reference report in batch

  • Run XRNDU--P in a standard batch Natural job with LFILEs 131 and 216 assigned and printer file 1 correctly defined.

Syntax:

XRNDU--P
jcl-node,execution-node,master/active-jobs
owner-name,network-name,network-version

The program has two inputs:

  1. JCL Node, Execution Node, Job Masters and active jobs

  2. Owner, Network, Network Version

The following examples assume the Natural parameters IM=D, ID=,:

Example:

XRNDU--P
517,517,M
SYS*,W,*

This will produce a list of job masters in networks with names less than W under owners beginning with SYS that use JCL node 517 and execution node 517.

Undefined Objects Reports in Batch

Note that a version name (void) might occur for an object, if no version usage is defined for the object that is valid on the determination date. The default value of the determination date is the start of the users Entire Operations session.

Start of instruction setTo list undefined objects in batch

  • Run XRNDF—P in a standard batch Natural job

Syntax:

XRNDF—P

Specification of the object types to be inspected:

P-CHECK-SYMBOL X = search for undefined symbols.
P-CHECK-SYMTAB X = search for undefined symbol tables.
P-CHECK-NETWORK X = search for undefined networks.
P-CHECK-JOB X = search for undefined jobs.
P-CHECK-RESOURCE X = search for undefined resources.
P-CHECK-SCHEDULE X = search for undefined schedules.
Field Explanation
Owner Owner name. *, > and < wildcards are allowed. Use * for all owners.
Network Network name. *, > and < wildcards are allowed. Use * for all networks.
Network Version Network Version name. *, > and < wildcards are allowed. Use * for all network versions.

Resource Usage Reports in Batch

Start of instruction setTo produce the resource usage cross-reference listing in batch

  • Run XRRES--P in a standard batch Natural job with LFILEs 131 and 216 assigned and printer file 1 correctly defined.

Syntax:

XRRES--P 
resource-name
owner-name,network-name,network-version

The program has two inputs:

  1. Resource

  2. Owner, Network, Network Version

The following examples assume the Natural parameters IM=D, ID=,:

XRRES--P
RES*
PROD,ABC*,*

This will produce a list of all jobs of owner PROD with names starting with ABC using a resource beginning with RES.