Using Includes in Job Objects
When a job is processed, Includes are read and used to generate the executable job for the target system. Depending on the job definition, activation data is retrieved, variable settings evaluated, the attribute dialog displayed, messages for the target system prepared, the log on/off in the target system facilitated, the job report requested, etc.
Client 0 comes with platform-specific Includes. Within header and trailer includes, user Includes are called using the "NOFOUND=IGNORE" parameter in order to avoid errors if these Includes do not exist.
In doing so individual Includes can be created, which are responsible for special tasks during the various stages of job execution. These tasks are then included in Automation Engine processing.
For running jobs, you require the necessary rights to run job includes. Note when you use job includes (access method "X" for JOBI objects).
Job |
Header Include |
Trailer Include |
User Includes |
---|---|---|---|
BS2000 |
HEADER.BS2000 |
TRAILER.BS2000 |
HEADER.BS2000.USER.PRE |
JMX |
HEADER.JMX |
TRAILER.JMX |
HEADER.JMX.USER.PRE |
NSK |
HEADER.NSK |
TRAILER.NSK |
HEADER.NSK.USER.PRE |
z/OS |
HEADER.MVS |
TRAILER.MVS |
HEADER.MVS.USER.PRE |
OS/400 |
HEADER.OS400 |
TRAILER.OS400 |
HEADER.OS400.USER.PRE |
PeopleSoft |
HEADER.PS |
TRAILER.PS |
HEADER.PS.USER.PRE |
RA | HEADER.CIT | TRAILER.CIT | HEADER.CIT.USER.PRE HEADER.CIT.USER.HEAD HEADER.CIT.USER.START TRAILER.CIT.USER.END |
SAP |
HEADER.SAP |
TRAILER.SAP |
HEADER.SAP.USER.PRE |
SAP BW |
HEADER.SAPBW |
TRAILER.SAPBW |
HEADER.SAPBW.USER.PRE |
Siebel |
HEADER.SIEBEL |
TRAILER.SIEBEL |
HEADER.SIEBEL.USER.PRE |
SQL |
HEADER.SQL |
TRAILER.SQL |
HEADER.SQL.USER.PRE |
UNIX |
HEADER.UNIX |
TRAILER.UNIX |
HEADER.UNIX.USER.PRE |
VMS |
HEADER.VMS |
TRAILER.VMS |
HEADER.VMS.USER.PRE |
Windows |
HEADER.WINDOWS |
TRAILER.WINDOWS |
HEADER.WINDOWS.USER.PRE |
Due to the program logic, the Include object of the own client is used even if an object of the same name is available in client 0000.
Automic recommends using user includes for special tasks. You can also modify the supplied header and trailer includes in client 0000 and store them in your own client. This only increases maintenance work if the supplied includes are changed with an updated version due to programming reasons.
Important Considerations
There are dependencies between the individual includes. Keep this in mind when modifying Include objects.
Resources attached to the Storage object may be transferred using external interpreters, where the script is entered in the Process page of a Job object (JOBS). Jobs containing external interpreter scripts use the header/trailer of existing Include objects. The existing Includes should not be changed.
If you do not intend to work with user-defined Include objects in general or on particular platforms, the administrator can deactivate this function in the UC_SYSTEM_SETTINGS AE variable using the "DISABLE_USER_HEADER" key. In this case, Include objects are not called and this increases performance.
See also: