You can define and pass job SYSOUT and/or one or more other files (for example, output files of a job) to Entire Output Management (NOM) to further process the output in this environment.
This document covers the following topics:
Basic Requirements for File Transfers to Entire Output Management
Defining the Handover of SYSOUT Files from UNIX/Windows to BS2000
This section describes the requirements for transferring files from Entire Operations to Entire Output Management.
An NTLFILE
or LFILE
definition for the
Entire Output Management system file must be entered in the start parameters
for System Automation Tools or Entire Operations. For further information, see
the section Installing Entire Operations on
Mainframes in the
Installation and
Setup documentation.
If Entire Output Management (LFILE 206
) is defined, and
if the Entire Operations monitor receives a NAT0082 message calling the Entire
Output Management API, the message NOM Trigger interface not
active
will be written to log before Entire Operations task
restart. Subsequent attempts to pass SYSOUT to Entire Output Management will be
ignored with the message Passing to NOM impossible
.
If SYSOUT or another file cannot be passed to the Entire Output Management API, the Entire Output Management API calls for a job to be retried. Check the Entire Operations log for more detailed error information.
In Entire Output Management, the report name is EOR-SOUT.
For UNIX and Windows, refer to Passing SYSOUT from UNIX and Windows Nodes to Entire Output Management.
The Entire Operations default setting NOM API retry limit described in Default Setting (1) in the Administration documentation.
The Entire Operations default setting Copy SYSOUT File before passing it to NOM described in Default Setting (2) in the Administration documentation.
To list files defined for processing with Entire Output Management
Select a job and open the End-of-Job Checking + Actions screen.
The letter T in the Action column indicates that an EOJ action for Entire Output Management exists:
17.04.16 ***** Entire Operations ***** 18:02:27 Owner REQUEST Network P106270 Version Job J-1 End-of-Job Checking + Actions MVS/ESA Run Date ------------------------------------------------------------------------------ C Action Step will be checked for means OA _ T Additional Actions for Job-ok ok ******************************* Bottom of Data ******************************* _ T X All Checks ok _ T Any Check not ok ------------------------------------------------------------------------------ A Activat. C Cond. D Delete E Edit Exit J JV L Rel Res M Modify O Other P Descr. R Recov. S SYSOUT T Output Mgmt U User Msg X Action Exit Y Symbol Set Command => ____________________________________________________________ Enter-PF1---PF2---PF3---PF4---PF5---PF6---PF7---PF8---PF9---PF10--PF11--PF12--- Help Add End Save Up Down Menu |
See also End-of-Job Checking and Actions Screen in the section End-of-Job Checking and Actions.
On the End-of-Job
Checking + Actions screen, type
T
(Output Mgmt) in the All checks
ok or Any check not ok line command field, and
press ENTER.
If you select All checks ok, a Files for Entire Output Management window similar to the example below opens:
17.04.16 ***** Entire Operations ***** 17:51:35 Owner REQUEST Network P106270 Version Job J-1 End-of-Job Checking + Actions MVS/ESA Run Date ------------------------------------------------------------------------------ C Acti +--------------------------------------------------------------------+ _ | | | Job ended ok | | Files for Entire Output Management | | Cmd File | | _ SYSOUT A 1 | | _ HUGO.HUGO.HUGO | | _ SYSOUT SO 3 | | _ Procname PROC Stepname STEP DDName DD | ****** | _ @EUMEL..TEST | t | _ SYSOUT SO 4 | _ | _ Procname XXX Stepname YYY DDName ZZZ | ------ | _ TEST.TEST.TEST | A Acti | | P Desc | | | D Delete M Modify | Comman | Enter---PF1---PF2---PF3---PF5---------------------------------- | | Help Add End Save | +--------------------------------------------------------------------+ Enter-PF1---PF2---PF3---PF4---PF5---PF6---PF7---PF8---PF9---PF10--PF11--PF12--- Help Add End Save Up Down Menu |
This window contains a list of all files to be handled by Entire Output Management.
- Line Commands
Command Description D
Delete a file definition. M
Modify a file definition. Depending on the definition, a Spool File or an Output File definition window opens.
- Special PF Key
PF Key Description PF2 Add a file definition for Entire Output Management. For mainframe execution nodes, a selection window opens.
For UNIX and Windows nodes, an Output File definition window opens directly.
This section provides instructions for adding and modifying file definitions for processing in Entire Output Management.
Note:
The number of files you can define per job event is limited to 10. If
you want to specify more than 10 files for a job, define one or more additional
events of the type A
(Add.
Job-ok,-not-ok), and define the extra files for these events.
To add a file definition
In the Files for Entire Output Management window, press PF2 (Add).
A window similar to the example below opens:
+------------------------------------------------------+ | | | Additional Actions for Job-ok | | File Definition for Output Management (NOM) | | | | Please select: | | Spool File Definition ==> _ | | Output File Definition ==> _ | | | | ---------PF3-------------------------------------- | | End | +------------------------------------------------------+ |
Select Spool File Definition or Output
File Definition by entering any character in the appropriate field,
and press ENTER
.
Depending on the option selected, one of the following windows opens:
+--------------------------------------------------+ | | | Additional Actions for Job-ok | | File Definition for Output Management (NOM): | | Spool File | | | | Operating System ==> MVS/ESA | | Spool Type ==> JES2 | | | | Please specify either | | Spool File Type ==> __ | | Spool File Number ==> _____ | | | | or | | Procname ==> ________ | | Stepname ==> ________ | | DD Name ==> ________ | | | | ---PF1---PF3----------------------------------- | | Help End | +--------------------------------------------------+ |
For an output file definition:
+----------------------------------------------------------------------+ | | | Job ended ok | | File Definition for Output Management (NOM): | | Output File (sequential file) | | | | Operating System ==> MVS/ESA Spool Type ==> JES2 | | | | File ==> ______________________________________________________ | | CC Type ==> _ PName ==> ________ | | VolSer ==> ______ Recfm ==> __ Lrecl ==> _____ Blksize ==> _____ | | | | Execute if temp. Dummy ==> Y Pass to OPO ==> N | | | | ----PF1----PF3---------------------------------------------------- | | Help End | +----------------------------------------------------------------------+ |
In this window you can define an output file of the job to be handled.
The input fields are described in Fields: Output File Definition.
Enter the required definitions and press ENTER.
Press PF3 to close the window.
You return to the Files for Entire Output Management window where the new file definition is listed.
To modify a file definition
In the Files for
Entire Output Management window, enter the line command
M
next to the file you want to modify, and press
ENTER.
Depending on the type of the file selected, either a Spool File or an Output File definition window opens.
The input fields available are described in Fields: Spool File Definition and Fields: Output File Definition, respectively.
The input fields required to define a file of the job SYSOUT to be handled are provided in the Spool File window.
Field | Description |
---|---|
Operating System | (Output field only)
Operating system of the node on which the selected job runs. |
Spool Type | (Output field only)
Spool type (POWR, JES2, JES3). |
Spool file type | Spool file type, for example, SO for JES SYSOUT. |
Spool file number | (Not required for z/VSE)
Spool file number. |
Procname | PROCNAME that identifies the file. |
Stepname | STEPNAME that identifies the file. |
DD name | DD name that identifies the file. |
For more information on spool file types and report identification, see Attributes of a Report in the section Reports of the Entire Output Management User's Guide.
The fields available to define an output file of the job to be handled are described in the following table.
The fields are provided in the Output File (sequential file) window.
Field | Description |
---|---|
Operating System | (Output field only)
Operating system of the node on which the selected job runs. |
Spool Type | (Output field only)
Spool type (POWR, JES2, JES3). |
File | File to be passed to Entire Output Management.
If the file name contains the activation escape character, a symbol replacement is performed, using the job's active symbol table. If the file name contains the submission escape character, a symbol replacement is performed using the job's active symbol table. By using a wildcard in the file name, you may pass all files to Entire Output Management at once, which are matching the wildcard. |
CC Type | Not applicable to z/OS.
Carriage control type. If the file contains carriage control characters, you must specify their type: see Carriage Control Type (CC Type). |
PName | Applies to BS2000 only.
If you want to identify the job by the PNAME option of the BS2000
print command ( |
VolSer | For z/VSE, these fields are
obligatory.
Information required to allocate the data set/file: Volume serial number (Blksize), record format (Recfm), record length (Lrecl) and the block size (Blksize) of the file/data set. |
Recfm | |
Lrecl | |
Blksize | |
Execute if temporary Dummy | If Y is entered
here (this is
the default), the end-of-job action is performed even if the job executed as a
temporary dummy.
If this field is set to
|
Pass to OPO | Relevant for execution nodes on UNIX and Windows
only.
If Passing files to OPO is not performed by default. |
Notes:
Normally Entire Output Management identifies report definitions by spool attributes. However, if Entire Operations triggers processing of output files, no such spool attributes exist. Instead, Entire Operations attributes are passed to Entire Output Management as follows:
Entire Operations |
Entire Output Management Identification | ||
---|---|---|---|
z/OS | z/VSE | BS2000 | |
JOBNAME | Job name | Job name | PNAME |
USER ID | Destination | Destination | User ID |
You must specify a carriage control (CC) type for the output file depending on your operating system and the catalog entries contained in the file catalog.
No specification is required in z/OS, where the carriage control type is taken from the file's catalog entry.
Operating System | CC Type Setting | Explanation |
---|---|---|
BS2000 | blank | If
the file was created with RECFORM=(...,M) or
=(...,A) , CC type can be taken from the file's catalog entry;
otherwise, it must be specified in the CC Type
field.
|
A |
ASA code | |
M |
Machine code | |
E |
BS2000 EBCDIC carriage control characters | |
z/VSE | A |
ASA code |
M |
Machine code | |
z/OS | blank | CC type not required |
You can delete single or multiple file definition for Entire Output Management by either deleting the EOJ action that corresponds to the file definition(s), or by deleting a single file defined for the EOJ action.
To delete an entire EOJ action
On the End-of-Job
Checking + Actions screen, enter the line command
D
next to the action which contains the file
definitions for Entire Output Management, and press ENTER
.
A confirmation window opens.
Enter Y
(Yes) to confirm the deletion.
The EOJ action with all file definitions for Entire Output Management is deleted.
To delete single files defined for an EOJ action
On the End-of-Job
Checking + Actions screen, enter the line command
T
next to the action which contains the file
definitions for Entire Output Management you want to delete, and press
ENTER
.
Depending on where you enter the T
command (above or
below Bottom of Data),
An Additional Actions for Job-ok window or Job ended ok/Job ended not ok with a list of files defined for Entire Output Management opens.
Enter the line command D
next to the file you want to
delete, and press ENTER
.
A confirmation window opens.
Enter Y
(Yes) to confirm the deletion.
This section covers the following topics:
Copying Files before passing them to Entire Output Management
Passing SYSOUT from UNIX and Windows Nodes to Entire Output Management
Naming Rules for Files copied into the EOR_NOM Directory (UNIX and Windows)
If the file to be handed over did not (yet) exist or was (not) yet closed, the handover will be retried.
The following rules apply:
Case | Retries | Interval between retries |
---|---|---|
Output file cannot be found
(does not apply to spool files) |
3 | 5 minutes |
All other cases | 1000 | 30 minutes |
The retry queue will not be deleted in case of a Monitor shutdown and restart.
In the default settings, you can define that the SYSOUT files are copied physically before handover to Entire Output Management.
The advantage of this is that exclusive use (as well as renaming and deleting) of the copy by Entire Output Management can still be looked at in Entire Operations. This, however, means that SYSOUT files need more space.
Under the following conditions, the SYSOUT copy is created on another node:
The symbol SYSOUT-NODE-GLOBAL
exists
in the symbol table SYSDBA/A and contains a valid node number.
In the target environment, the same PubIDs and BS2000 user IDs exist as in the source environment.
Defined recovery actions for an erroneous job are only executed, after all activities for the handover of the SYSOUT to Entire Output Management have been concluded, or after the maximum number of handover tries has been reached.
In case of a recovery action, the SYSOUT of all job runs are handed over to Entire Output Management. For further information, see Defining Recovery Action.
If the SYSOUT file or spool data set exceeds a given line limit, the copied file will be truncated: see SYSOUT Line Limit in Default Setting (2) in the Administration documentation.
On UNIX and Windows, the environment variable
EOR_NOM
must be defined. It must contain a valid
directory name. Entire Operations copies the SYSOUT files for Entire Output
Management into this directory. If the directory does not exist, Entire System
Server/UNIX (Entire System Server/Windows) creates it at the first usage
attempt.
To define the copying of SYSOUT to Entire Output Management
On the End-of-Job
Checking + Actions screen, enter the line command
S
next to the required action, and press ENTER
.
The SYSOUT Actions window opens.
Enter the line command O
to select the option
Pass SYSOUT to Entire Output Mgmt. See also
Defining Job SYSOUT
Actions in the section SYSOUT
Actions.
This is a job-level definition that only applies to the selected job.
Entire Operations creates the SYSOUT file copies in this directory with unique names.
It is up to Entire Output Management to fetch the files from there.
Notes:
- SYSOUT Files
The file names for SYSOUT files for the $EOR_NOM directory have the following syntax:
dbid-fnr.owner.network.run.job.txt
File Name Meaning dbid-fnr Concatenated DBID and FNR, 10 digits. owner Owner of job. network Network of job. run Run number of job. job Job. - Other Files
The file names for other files for the $EOR_NOM directory have the following syntax:
Format A with the components:
yymmdd.hhiisst.rrrrr.filename.ext
File Name Meaning yymmdd Year, month, day. hhiisst Time, incl. 1/10 sec. rrrr Entire Operations run number, with leading zeros. filename Unqualified part of original file name. ext Extension of original file name. Format B with the components:
yymmdd.hhiisst.rrrrr.job.ix
File Name Meaning yymmdd Year, month, day. hhiisst Time, incl. 1/10 sec. rrrr Entire Operations run number, with leading zeros. job Entire Operations job name. ix Index of file definition in Entire Operations (2 digits). Note:
Format B is used only if the length offilename.ext
is longer than 20 characters, because of a size limitation in Entire Output Management.
To define the handover of SYSOUT files from UNIX or Windows to BS2000
Press PF9.
The following window opens:
24.10.08 ***** Entire Operations ***** 16:40:39 Owner SN End-of-Job Checking + Actions WIN/NT Job APO1 Network WNT409A Run Date ------------------------------------------------------------------------------ C Action +-------------------------------------------------------+ ans OA _ ! ! _ ! SYSOUT Copy from UNIX / Windows to Mainframe ! _ ! ! _ ! Owner SN SYSOUT Node 31 ! _ ! Network WNT409A SYSOUT Cat ID ! _ ! Run SYSOUT User ID SN ! _ ! Job APO1 ! _ ! Exec.Node 409 ! ************* ! ! ****** s S ! Note: Please use Job Definition function 'Specials' ! _ ! (PF6) to modify the values ! ------------- ! ! ------ A Activation ! ---PF1---PF3--------------------------------------- ! Other P Descr. R Re ! Help End ! ol Set ! ! Command => __ +-------------------------------------------------------+ Enter-PF1---PF2---PF3---PF4---PF5---PF6---PF7---PF8---PF9---PF10--PF11--PF12--- Help Add End Save Up Down Menu |
You can copy a UNIX or Windows SYSOUT file to a BS2000 system so that it can be handed over to the Output Management for instance.
The SYSOUT node must differ from the execution node, and it must be a BS2000 node.
The naming conventions for the copy are identical to the ones for SYSOUT files, which have been directly created on the mainframe. (Even exits for SYSOUT file names, which may be present, are run through.) SYSOUT copies are affected by the automatic file cleanup just as the original SYSOUT.
This section covers the following topics:
You can retrieve the names of SYSOUT source files (on UNIX or Windows) and target files (on BS2000) for end-of-job checking (EJC) and end-of-job action (EJA) user exits (see also Editing End-of-Job Checking or Action User Exits).
If you want to retrieve the file names, add the following to the definitions in the user exit:
For the SYSOUT source file:
INDEPENDENT 1 +P-SYSOUT-FILE-250 (A250)
For the SYSOUT target file:
INDEPENDENT 1 +P-SYSOUT-FILE-COPY-250 (A250)
For BS2000 target nodes, only the leading 54 bytes of the field are used.
Notes:
P-REPEAT-COUNT
(alias P-REPEAT
) described in
Table of Predefined
Symbols in the section Symbol Table and Symbol
Maintenance.
Field | Meaning |
---|---|
SYSOUT Node | A valid Entire System Server node on BS2000. |
SYSOUT Cat ID | BS2000 Cat ID, which is to be used for the copied file (optional). |
SYSOUT User ID | BS2000 User ID, under which the copied SYSOUT file is to be generated. |