<jobdata> Platform-specific Elements
- Container Job Element Structure
- File Transfer Job Element Structure
- IBM i Job Element Structure
- Java Job Element Structure
- MCP Job Elements
- OpenVMS Job Element Structure
- OS 2200 Job Elements
- SAP R/3 and CRM Job Element Structure
- SAP BW Job Element Structure
- SQL Job Element Structure
- Tuxedo ART Job Element Structure
- UNIX Job Element Structure
- Windows Job Elements
- z/OS Job Elements
Container Job Element Structure
Enter either new_master or new_daily for the msgtype. For detailed information on each field for this job type, refer to Container Job Type in the Concepts online help.
<jobdata>
<cntnr_subskd></cntnr_subskd>
</jobdata>
Element Definitions
<cntnr_subskd></cntnr_subskd
The <cntnr_subskd> element defines the schedule that will run as a SubSchedule under the control of the container job.
- Requirements: This is a Required field.
- EM field label: Schedule to run as Sub-Schedule
- Valid Values: Valid data for this element contains the schedule the user has privileges to that has the SubSchedule flag marked True in their schedule definition except the current schedule. Valid data for this element is the name of any schedule, except the schedule identified by the <skdname> element that is allowed as a subschedule. A schedule must have the SubSchedule indicator set to be allowed as a SubSchedule.
File Transfer Job Element Structure
Enter either new_master or new_daily for the msgtype. For detailed information on each field for this job type, refer to File Transfer Job Details in the Concepts online help.
<jobdata>
<host_name></host_name>
<ft_src_user></ft_src_user>
<ft_src_file></ft_src_file>
<ft_dest_user></ft_dest_user>
<ft_dest_file></ft_user_file>
<ft_xqt_mach></ft_xqt_mach>
<ft_mode></ft_mode>
<ft_compress></ft_compress>
<ft_encrypt></ft_encrypt>
<ft_overwrt></ft_overwrt>
<ft_failpref></ft_failpref>
<ft_bandwidth></ft_bandwidth>
<dest_mach></dest_mach>
<ft_dest_dt></ft_dest_dt>
<ft_tls_override></ft_tls_override>
</jobdata>
Element Definitions
<host_name></host_name>
The <host_name> element defines the Source Machine for the transfer. To qualify as a machine for this field, a machine must be enabled for file transfer in the File Transfer Settings category in the Machine's advanced settings.
- Requirements: This is a Required field.
- EM field label: Machine
- Valid Values:
- Low Range / Minimum Characters: 1
- High Range / Maximum Characters: 24
- Invalid Characters: ' (single quote), ~ (tilde), `(grave accent)
<ft_src_user></ft_src_user>
The <ft_src_user> element contains the user name for the Source user if the platform requires a user name. If the platform does not require a user name, specify N/A.
- Requirements: This is a Required field.
- EM field label: User
- Valid Values:
- Low Range / Minimum Characters: 1
- High Range / Maximum Characters: 60
<ft_src_file></ft_src_file>
The <ft_src_file> element contains the full path and the file name of the source file to be transferred.
- Requirements: This is a Required field.
- EM field label: File
- Valid Values:
- Low Range / Minimum Characters: 1
- High Range / Maximum Characters: 512
<ft_dest_user></ft_dest_user>
The <ft_dest_user> element contains the user name for the destination user if the platform requires a user name. If the platform does not require a user name, specify N/A.
- Requirements: This is a Required field.
- EM field label: User
- Valid Values:
- Low Range / Minimum Characters: 1
- High Range / Maximum Characters: 60
<ft_dest_file></ft_dest_file>
The <ft_dest_file> element contains the full path and file name of the destination file to be transferred to.
- Requirements: This is a Required field.
- EM field label: File
- Valid Values:
- Low Range / Minimum Characters: 1
- High Range / Maximum Characters: 512
<FT_xqt_mach></FT_xqt_mach>
The <ft_xqt_mach> element defines which machine will initiate the File Transfer communication.
- Requirements: This is an Optional Field. If not specified, the value defaults to Destination.
- EM field label: Start Transfer On
- Valid Values: Destination, Source
<ft_mode></ft_mode>
The <ft_mode> element defines the Source Data Type of the file to transfer.
- Requirements: This is a Required field.
- Valid Values: ASCII, Binary, Default Text, EBCDIC
If Binary is used for the source data type, it WILL also be used for the destination data type as well, regardless of the value specified for the <ft_dest_dt> tag. If the Destination Data Type is Binary and the Source Data Type is not Binary, errors will display.
<ft_compress></ft_compress>
The <ft_compress> element allows the user to select compression options. It is in the "File Options" category.
- Requirements: This is a Required field.
- Valid Values: None, Required, Preferred
<ft_encrypt></ft_encrypt>
The <ft_encrypt> element specifies if this field must be used, is not used, or use is preferred.
- Requirements: This is a Required field.
- Valid Values: <none>, Required, Preferred
<ft_overwrt></ft_overwrt>
The <ft_overwrt> element specifies what the user wants to do if the file already exists on the destination machine.
- Requirements: This is a Required field.
- Valid Values: Do Not overwrite, Overwrite, Backup then Overwrite, Append, Backup then Append.
<FT_delsrcfile></FT_delsrcfile>
The <ft_delsrcfile> element determines if the source file will be deleted after the SMAFT process completes successfully.
- Requirements: This is a Required field, and if data is not provided it will be set to "No".
- EM field label: Delete Source File
- Valid Values: No, Required, Preferred
<ft_failpref></ft_failpref>
The <ft_failpref> element allows an FT job return a fail code if the "Preferred" Encryption and Compression settings are not met.
- Requirements: This is a Required field.
- EM field label: Fails if preferred settings not satisfied
- Valid Values: Yes, No
<ft_bandwidth></ft_bandwidth>
The <ft_bandwidth> element sets the transfer rate of the file and allows the user to "throttle back" bandwidth usage.
- Requirements: This is a Required field.
- Valid Values: 64, 128, 256, 512, 1024, 2048, >2048
<dest_mach></dest_mach>
The <dest_mach> element defines the name of the destination machine for the file transfer. In order to qualify as a machine for this field, a machine must be enabled for file transfer in the File Transfer Settings category in the Machine's advanced settings.
- Requirements: This is a Required field.
- EM field label: Machine
- Valid Values:
- Low Range / Minimum Characters: 1
- High Range / Maximum Characters: 24
- Invalid Characters: ' (single quote), ~ (tilde), `(grave accent)
<ft_dest_dt></ft_dest_dt>
The <ft_dest_dt> element defines the type of the file (ASCII, Binary, Default Text, or EBCDIC) to receive.
- Requirements: This is a Required field.
- Valid Values: ASCII, Binary, Default Text, EBCDIC
If Binary is used for the source data type, it WILL also be used for the destination data type as well, regardless of the value specified for the <ft_dest_dt> tag. If the Destination Data Type is Binary and the Source Data Type is not Binary, errors will display.
<ft_tls_override></ft_tls_override>
The <ft_tls_override> element specifies whether the file transfer should take place over a secure connection if possible, must take place over a secure connection, or must not take place over a secure connection.
- Requirements: This is an Optional field.
- Valid Values: Preferred, Required, None
IBM i Job Element Structure
The following sample code contains the structure for defining every possible element for IBM i Primary Job Elements. For detailed information on each field for this job type, refer to IBM i Job Details in the Concepts online help.
<msg>
<msgtype> </msgtype>
<schedule>
<job>
<jobdata>
------Job Information Element Definitions------
<job_type></job_type>
<i5_userid></i5_userid>
<job_q_pri></job_q_pri>
<job_date></job_date>
<acct_code></acct_code>
<curr_lib></curr_lib>
<init_lib></init_lib>
<job_desc_name></job_desc_name>
<job_desc_lib></job_desc_lib>
<batchq_name></batchq_name>
<batchq_lib></batchq_lib>
<outputq_name></outputq_name>
<outputq_lib></outputq_lib>
------Call Information Element Definitions------
<i5os_prerun></i5os_prerun>
<call_script></call_script>
<ftp_remtsys></ftp_remtsys>
<ftp_act></ftp_act>
<ftp_tfr></ftp_tfr>
<ftp_user></ftp_user>
<ftp_lclfn></ftp_lclfn>
<ftp_lcldir></ftp_lcldir>
<ftp_rmtfn></ftp_rmtfn>
<ftp_rmtdir></ftp_rmtdir>
------File Arrival Element Definitions------
<ibmi_cfa_read></ibmi_cfa_read>
<ibmi_cfa_write></ibmi_cfa_write>
<ibmi_cfa_exec></ibmi_cfa_exec>
<ibmi_chk_file_lck_db2></ibmi_chk_file_lck_db2>
<ibmi_file_2_watch></ibmi_file_2_watch>
<ibmi_file_start_watch></ibmi_file_start_watch>
<ibmi_file_end_watch></ibmi_file_end_watch>
<ibmi_file_stable></ibmi_file_stable>
<ibmi_filearrival_failcode></ibmi_filearrival_failcode>
<ibmi_dynvar_filename></ibmi_dynvar_filename>
<ibmi_dynvar_reccnt></ibmi_dynvar_reccnt>
------Log Information Element Definitions------
<log_lvl></log_lvl>
<sev_lvl></sev_lvl>
<txt_opt></txt_opt>
<cl_log></cl_log>
<inq_msg></inq_msg>
<joblogs_keep_occur> </joblogs_keep_occur>
<joblogs_keep_days> </joblogs_keep_days>
------Message Element Definitions------
<msg_info>
<msg_id></msg_id>
<msg_cmpdata></msg_cmpdata>
<msg_pos></msg_pos>
<msg_sev></msg_sev>
<msg_actn></msg_actn>
<msg_reply></msg_reply>
<msg_endjob></msg_endjob>
<msg_events></msg_events>
</msg_info>
------Spools Element Definitions------
<spl_info>
<spl_name></spl_name>
<spl_user></spl_user>
<spl_outq_name></spl_outq_name>
<spl_outq_lib></spl_outq_lib>
<spl_copies></spl_copies>
<spl_hld></spl_hld>
<spl_save></spl_save>
</spl_info>
------Variables Element Definitions------
<ibmi_agent_var_info>
<ibmi_agent_var></ibmi_agent_var>
<ibmi_agent_var_val></ibmi_agent_var_val>
</ibmi_agent_var_info>
</jobdata>
</job>
</schedule>
</msg>
Job Information Element Definitions
<JOB_TYPE></JOB_TYPE>
The <JOB_TYPE> element defines the IBM i job type.
- Requirements: Required for IBM i <jobdata>.
- EM field label: Job Type
- Valid Values: The following values are provided in a list of available options: Batch Job, Tracked Job, Queued Job, Operator Replay Job, Restricted Mode, and FTP.
<I5_USERID></I5_USERID>
The <I5_USERID> element defines the name of the IBM i user profile under which the job should be submitted.
- Requirements: Required for IBM i <jobdata>.
- EM field label: User ID
- Valid Values: All values from the Batch User Privileges screen that the user has privileges to.
<JOB_Q_PRI></JOB_Q_PRI>
The <JOB_Q_PRI> element defines the job queue scheduling priority.
- Requirements: Required for IBM i <jobdata>.
- EM field label: JobQ Priority
- Valid Values: *, 1, 2, 3, 4, 5, 6, 7, 8, 9
- Values range from 1 through 9, where 1 is the highest priority and 9 is the lowest.
- If an asterisk (*) is specified, the default value specified in the SMA system parameters for the LSAM will be used.
- The specification *JOBD is not supported.
<JOB_DATE></JOB_DATE>
The <JOB_DATE> element defines the calendar date for the job to be associated with.
- Requirements: Required for IBM i <jobdata>.
- EM field label: Job Date
- Valid Values: *JOBD, *SYSVAL, *SCHEDULE DATE, or a
User-defined calendar date. User-defined dates must follow these
requirements:
- The date must be entered in either the CCYYMMDD format, or the Short Date format recognized by the OpCon server's Regional Settings.
- Minimum Characters: 1
- Maximum Characters: 20
- Valid Characters: Numeric Characters (0 - 9), slash (/), dash (-), period (.), comma (,) space ( ).
- Invalid Character: asterisk (*). An asterisk (*) can be selected from a box, but it cannot be typed.
<ACCT_CODE></ACCT_CODE>
The <ACCT_CODE> element specifies the accounting code that is used when logging system resource use.
- Requirements: Optional for IBM i <jobdata>.
- EM field label: Accounting Code
- Valid Values:
- Minimum Characters: 0
- Maximum Characters: 15
<CURR_LIB></CURR_LIB>
The <CURR_LIB> element defines the name of the current library associated with the job being executed. The actual library name may be specified.
- Requirements: Required for IBM i <jobdata>.
- EM field label: Current
- Valid Values: *, *CRTDFT, *USRPRF, or a User-defined library
name.
- If an asterisk (*) is specified, the default value specified in the SMA system parameters for the LSAM is used.
- User-defined library names must follow these requirements:
- Minimum Characters: 1
- Maximum Characters: 10
<INIT_LIB></INIT_LIB>
The <INIT_LIB> element defines the initial user part of the library list that is used to search for any objects without a library. The individual library names are not supported.
- Requirements: Required for IBM i <jobdata>.
- EM field label: Init Lib List
- Valid Values: *, *JOBD, *NONE, *SYSVAL, *CURRENT, or a
User-defined library name.
- If an asterisk (*) is specified, the default value specified in the SMA system parameters for the LSAM is used.
- User-defined library names must follow these requirements:
- Minimum Characters: 1
- Maximum Characters: 10
<JOB_DESC_NAME></JOB_DESC_NAME>
The <JOB_DESC_NAME> element defines the simple name of the job description used with the job. The actual job description name may be specified.
- Requirements: Required for IBM i <jobdata>.
- EM field label: Name
- Valid Values: *, *USRPRF, or the actual job description name.
- If an asterisk (*) is specified, the default value specified in the SMA system parameters for the LSAM is used.
- User-defined library names must follow these requirements:
- Minimum Characters: 1
- Maximum Characters: 10
<JOB_DESC_LIB></JOB_DESC_LIB>
The <JOB_DESC_LIB> element defines the library associated with the job description name.
- Requirements: Required for IBM i <jobdata>.
- EM field label: Library
- Valid Values: *, *LIBL, *CURLIB, or the User-defined name of
the library associated with the job description name.
- The name of the library must follow these requirements:
- Minimum Characters: 1
- Maximum Characters: 10
- The name of the library must follow these requirements:
<BATCHQ_NAME></BATCHQ_NAME>
The <BATCHQ_NAME> element defines the name of the job queue in which this job is placed. The actual job queue name may be specified.
- Requirements: Required for IBM i <jobdata>.
- EM field label: Name
- Valid Values: *, *JOBD, or the actual job queue name.
- If an asterisk (*) is specified, the default value specified in the SMA system parameters for the LSAM is used.
- The name of the job queue must follow these requirements:
- Minimum Characters: 1
- Maximum Characters: 10
<BATCHQ_LIB></BATCHQ_LIB>
The <BATCHQ_LIB> element defines the library associated with the batch queue name.
- Requirements: Required for IBM i <jobdata>.
- EM field label: Library
- Valid Values: *, *LIBL, *CURLIB, or the User-defined name of
the library associated with the batch queue name.
- If an asterisk (*) is specified, the default value specified in the SMA system parameters for the LSAM is used.
- The name of the library must follow these requirements:
- Minimum Characters: 1
- Maximum Characters: 10
<OUTPUTQ_NAME></OUTPUTQ_NAME>
The <OUTPUTQ_NAME> element defines the output queue used for spooled files. The actual output queue name may be specified.
- Requirements: Required for IBM i <jobdata>.
- EM field label: Name
- Valid Values: *, *CURRENT, *USRPRF, *DEV, *JOBD, or the
actual output queue name.
- If an asterisk (*) is specified, the default value specified in the SMA system parameters for the LSAM is used.
- The name of the library must follow these requirements:
- Minimum Characters: 1
- Maximum Characters: 10
<OUTPUTQ_LIB></OUTPUTQ_LIB>
The <OUTPUTQ_LIB> element defines the library associated with the Output Queue name.
- Requirements: Required for IBM i <jobdata>.
- EM field label: Library
- Valid Values: *, *LIBL, *CURLIB, or the User-defined name of
the library associated with the output queue name.
- If an asterisk (*) is specified, the default value specified in the SMA system parameters for the LSAM is used.
- The name of the library must follow these requirements:
- Minimum Characters: 1
- Maximum Characters: 10
Call Information Element Definitions
<i5os_prerun></i5os_prerun>
The <i5OS_prerun> element allows users to specify an IBM i job to be executed immediately before the initiation of the job specified in the Call/Script Name field. If the Prerun job terminates with an error, it will be rescheduled at a user-defined interval. The Prerun job will continue to execute at the user-defined interval until it succeeds, allowing the job within the Job Information elements to process. The purpose of a Prerun is to test any required preconditions to job execution.
- Requirements: Optional
- EM field label: Prerun
- Valid Values: CHKDTAARA, CHKFILE, or a User-defined prerun
value.
- Minimum Characters: 0
- Maximum Characters: 255
<CALL_SCRIPT></CALL_SCRIPT>
For a Batch Job, enter the program name using the CALL command or enter a command name. Do not use the SMBJOB command. If the SMBJOB command is used, the LSAM will not be able to track the job for failure. Include parameters in this field as desired. For an Operator Replay Job or Restricted Mode Job, enter the script name.
- Requirements: Required for IBM i <jobdata>.
- EM field label: Call
- Valid Values: User-defined call/script name.
- Minimum Characters: 1
- Maximum Characters: 2000
<FTP_REMTSYS></FTP_REMTSYS>
The <FTP_REMTSYS> element sets the name of the remote system.
- Requirements: Required only when the job type is FTP for IBM i <jobdata>.
- EM field label: Remote System
- Valid Values:
- Minimum Characters: 1
- Maximum Characters: 255
<FTP_ACT></FTP_ACT>
The <FTP_ACT> element sets the FTP command to use.
- Requirements: Required only when the job type is FTP for IBM i <jobdata>.
- EM field label: Action Type
- Valid Values: PUT, MPUT, GET, MGET, DEL, MDEL
<FTP_TFR></FTP_TFR>
The <FTP_TFR> element sets the type of transfer for binary or ASCII.
- Requirements: Required only when the job type is FTP for IBM i <jobdata>.
- EM field label: Transfer Type
- Valid Values: BIN, ASCII, EBCDIC
<ftp_user></ftp_user>
The <FTP_USER> element defines the FTP users for connecting to the remote system. If not specified, the LSAM will use the default user from the LSAM parameters.
- Requirements: Required for IBM i <jobdata>.
- EM field label: User
- Valid Values: All values from the Batch User Privileges
definitions
- Minimum Characters: 1
- Maximum Characters: 128
<FTP_LCLFN></FTP_LCLFN>
The <FTP_LCLFN> element defines the name for the file once it reaches the local machine.
- Requirements: Required only when the job type is FTP for IBM i <jobdata>.
- EM field label: Local File Name
- Valid Values: User-defined value
- This field is enabled for all action types, except MGET, DEL, and MDEL.
- Minimum Characters: 1
- Maximum Characters: 128
<FTP_LCLDIR></FTP_LCLDIR>
The <FTP_LCLDIR> element defines the library or directory on the local machine.
- Requirements: Required only when the job type is FTP for IBM i <jobdata>.
- EM field label: Local Library or Directory
- Valid Values: User-defined value
- Minimum Characters: 1
- Maximum Characters: 512
<FTP_RMTFN></FTP_RMTFN>
The <FTP_RMTFN> element defines the file name once it reaches the remote machine.
- Requirements: Required only when the job type is FTP for IBM i <jobdata>.
- EM field label: Remote File Name
- Valid Values: *LCLFILNAM or a user-defined value
- This field is enabled for all action types, except MPUT.
- Minimum Characters: 1
- Maximum Characters: 128
<FTP_RMTDIR></FTP_RMTDIR>
The <FTP_RMTDIR> element defines the library or directory on the remote machine.
- Requirements: Required only when the job type is FTP for IBM i <jobdata>.
- EM field label: Remote Library or Directory
- Valid Values: User-defined value
- Minimum Characters: 1
- Maximum Characters: 512
File Arrival Element Definitions
<ibmi_cfa_read></ibmi_cfa_read>
The <ibmi_cfa_read> element defines that the read type of object authority should be verified for the named User ID.
- Requirements: Optional when the job type is File Arrival for IBM i <jobdata>.
- EM field label: Read
- Valid Values: Valid values are True or False.
<ibmi_cfa_write></ibmi_cfa_write>
The <ibmi_cfa_write> element defines that the write type of object authority should be verified for the named User ID.
- Requirements: Optional when the job type is File Arrival for IBM i <jobdata>.
- EM field label: Write
- Valid Values: Valid values are True or False.
<ibmi_cfa_exec></ibmi_cfa_exec>
The <ibmi_cfa_exec> element defines that the execute type of object authority should be verified for the named User ID.
- Requirements: Optional when the job type is File Arrival for IBM i <jobdata>.
- EM field label: Execute
- Valid Values: Valid values are True or False.
<ibmi_chk_file_lck_db2></ibmi_chk_file_lck_db2>
The <ibmi_chk_file_lck_db2> element defines whether to request verification that there are no in-use locks on any DB2 database files
- Requirements: Optional when the job type is File Arrival for IBM i <jobdata>.
- EM field label: Check Lock on DB2 File
- Valid Values: Valid values are True or False.
<ibmi_file_2_watch></ibmi_file_2_watch>
The <ibmi_file_2_watch> element defines the file path and name of the file to detect.
- Requirements: Required only when the job type is File Arrival for IBM i <jobdata>.
- EM field label: File Name
- Valid Values: User-defined value
- Minimum Characters: 1
- Maximum Characters: 4000
<ibmi_file_start_watch></ibmi_file_start_watch>
The <ibmi_file_start_watch> element defines the start of the time frame that the program uses to watch for the arrival of the file.
- Requirements: Required only when the job type is File Arrival for IBM i <jobdata>.
- EM field label: Start Time
- Valid Values: Valid values are a number of days and time from 0 -- 999 in Microsoft-formatted date time (e.g., 25.50 represents 1 day at 1:30 AM), or a Token.
<ibmi_file_end_watch></ibmi_file_end_watch>
The <ibmi_file_end_watch> element defines the end of the time frame that the program uses to watch for the arrival of the file.
- Requirements: Required only when the job type is File Arrival for IBM i <jobdata>.
- EM field label: End Time
- Valid Values: Valid values are a number of days and time from 0 -- 999 in Microsoft-formatted date time (e.g., 25.50 represents 1 day at 1:30 AM), or a Token.
<ibmi_file_stable></ibmi_file_stable>
The <ibmi_file_stable> element defines the amount of time the file size has remained stable to indicate the file has finished arriving.
- Requirements: Required only when the job type is File Arrival for IBM i <jobdata>.
- EM field label: File Size Stable Duration (in secs)
- Valid Values: Valid values are a number of seconds from 0 - 999, or a Token.
<ibmi_filearrival_failcode></ibmi_filearrival_failcode>
The <ibmi_filearrival_failcode> element defines the action to take based on the job failure or success status.
- Requirements: Required only when the job type is File Arrival for IBM i <jobdata>.
- EM field label: Failure Condition
- Valid Values: Valid values are Always Succeed, Fail If File Contains Zero Records or Zero Bytes, Fail On Error, or Fail On Error Except Reached End Time.
<ibmi_dynvar_filename></ibmi_dynvar_filename>
The <ibmi_dynvar_filename> element defines the root name of the file (including an extension, if any, from an IFS stream file) that is stored, similar to the OpCon system property $ARRIVED FILE SHORT NAME.
- Requirements: Optional when the job type is File Arrival for IBM i <jobdata>.
- EM field label: File Name Variable
- Valid Values: User-defined value
- Minimum Characters: 1
- Maximum Characters: 12
<ibmi_dynvar_reccnt></ibmi_dynvar_reccnt>
The <ibmi_dynvar_reccnt> element defines the number of records (for DB2 files/tables), or the number of data bytes (for IFS non-DB2 file systems) is stored when a file is found.
- Requirements: Optional when the job type is File Arrival for IBM i <jobdata>.
- EM field label: Record Count Variable
- Valid Values: User-defined value
- Minimum Characters: 1
- Maximum Characters: 12
Log Information Element Definitions
<LOG_LVL></LOG_LVL>
The <LOG_LVL> element defines the number of messages for logging.
- Requirements: Required for IBM i <jobdata>.
- EM field label: Level
- Valid Values: *, *JOBD, 0, 1, 2, 3, 4
- Valid values range from 0 to 4, with 0 being no logging and 4 being the highest level of detail.
<SEV_LVL></SEV_LVL>
The <SEV_LVL> element defines the lowest severity level that causes an error message to be logged.
- Requirements: Required for IBM i <jobdata>.
- EM field label: Severity
- Valid Values: Available Values: *, *JOBD, 00, 01, 02, 03, 04, 05, through 99.
<TXT_OPT></TXT_OPT>
The <TXT_OPT> element defines the detail of the text logged.
- Requirements: Required for IBM i <jobdata>.
- EM field label: Text
- Valid Values: Available Values: *, *JOBD, *MSG, *SECLVL, *NOLIST
<cl_log></cl_log>
The <CL_LOG> element defines whether the commands that are run in a control language program are logged to the job log by way of the CL program's message queue.
- Requirements: Required for IBM i <jobdata>.
- EM field label: Log CL Commands
- Valid Values: *, *JOBD, *NO, *YES
- If an asterisk (*) is specified, the default value specified in the SMA system parameters for the LSAM is used.
<INQ_MSG></INQ_MSG>
The <INQ_MSG> element defines the way predefined messages, sent as a result of running this job, are answered. If not specified, the default value specified in the SMA system parameters will be used.
- Requirements: Required for IBM i <jobdata>.
- EM field label: Inquiry Message Reply
- Valid Values: Available Values: *, *JOBD, *RQD, *DFT,
*SYSRPYL
- If an asterisk (*) is specified, the default value specified in the SMA system parameters for the LSAM is used.
<JOBLOGS_KEEP_OCCUR></JOBLOGS_KEEP_OCCUR>
The <JOBLOGS_KEEP_OCCUR> element sets the number of occurrences to save for times when this same job name may be executed more than once. The last (n) number of occurrences of job logs for this job name will be retained, while any prior job logs for this job name will be deleted. When this value is left at zero, this parameter will be ignored and all job logs will only be subject to the Number of Days (if set).
- Requirements: Optional for IBM i <jobdata>.
- EM field label: Number of Occurrences
- Valid Values: User-defined value
- Minimum Value: 0 (turns off joblog cleanup at the job level).
- Maximum Value: 999.
- Valid Values: Only numeric characters (0 -- 9).
- If the value is greater than 0, the setting in the database overrides the LSAM global setting for job log maintenance.
<JOBLOGS_KEEP_DAYS></JOBLOGS_KEEP_DAYS>
The <JOBLOGS_KEEP_DAYS> element sets the number of days to keep the job logs. The LSAM will delete (or cause the system to delete, during its normal course of operations) job logs for the names of the jobs that have existed on the system for more than the number of days set in this parameter. When this value is left at zero, this parameter will be ignored and all job logs will only be subject to the Number of Occurrences (if set).
- Requirements: Optional for IBM i <jobdata>.
- EM field label: Number of Days
- Valid Values: User-defined value
- Minimum Value: 0 (turns off joblog cleanup at the job level).
- Maximum Value: 999.
- Valid Values: Only numeric characters (0 -- 9).
- If the value is greater than 0, the setting in the database overrides the LSAM global setting for job log maintenance.
Message Element Definitions
<MSG_Info></MSG_Info>
The parent element <msg_info> contains the child elements needed to define a single message and response for an IBM i job. Up to 99 <msg_info> elements can be defined for each IBM i job.
- Requirements: Required to define a message to watch for the job.
- Valid Values: One each of the following child elements: <msg_id>, <msg_cmpdata>, <msg_pos>, <msg_sev>, <msg_actn>, <msg_reply>, <msg_endjob>, <msg_events>.
<MSG_ID></MSG_ID>
The <MSG_ID> element defines the 7 character Message ID displayed at the beginning of the message.
- Requirements: Required for <msg_info> if <MSG_SEV> = 00. If <MSG_SEV> is greater than 00, <msg_id> is not valid.
- EM field label: Message ID
- Valid Values: User-defined value of exactly seven (7) characters.
<MSG_CMPDATA></MSG_CMPDATA>
The <MSG_CMPDATA> element defines the characters to find in the message (defined by the message ID).
- Requirements: Optional for <msg_info>. If <MSG_SEV> > 00, <MSG_CMPDATA> is not valid.
- EM field label: Compare Data
- Valid Values: User-defined value
- Minimum Characters: 1
- Maximum Characters: 30
<MSG_POS></MSG_POS>
The <MSG_POS> element defines the position to start looking for the Compare Data word in the Message defined by the Msg ID.
- Requirements: Optional for <msg_info>, but required with <MSG_CMPDATA>. - EM field label: Position
- Valid Values: User-defined value
- Minimum Value: 0
- Maximum Value: 999 (Message data can be as long as 2147483647, but IBM i supports only up to position 999 in their reply list entries).
<MSG_SEV></MSG_SEV>
The <MSG_SEV> element defines the severity of the messages to look for.
- Requirements: Required for <msg_info> if <MSG_ID> is not defined. If <msg_id> is defined, <msg_sev> is not valid.
- EM field label: Severity
- Valid Values: 00, 10, 20, 30, 40, 50, 60, 70, 80, 90.
<MSG_ACTN></MSG_ACTN>
The <MSG_ACTN> element defines what the LSAM does when a message meets the defined criteria.
- Requirements: Required for <msg_info>.
- EM field label: Action
- Valid Values: Reply, Event, Both
<MSG_REPLY></MSG_REPLY>
The <MSG_REPLY> element defines the response the LSAM sends as the reply when the Action is set to Reply or Both and when the message meets the search criteria.
- Requirements: Required for <msg_info> if <MSG_ACTN> is 'Reply' or 'Both'.
- EM field label: Reply
- Valid Values:
- Minimum Characters: 1
- Maximum Characters: 6
<MSG_ENDJOB></MSG_ENDJOB>
The <MSG_ENDJOB> element defines whether they want to end the OpCon job after the message meets the criteria or if they want to allow it to keep running.
- Requirements: This field is optional for <msg_info>. Defaults to 'N' if an empty set of tags are defined.
- EM field label: End Job
- Valid Values: Yes, No
<MSG_EVENTS></MSG_EVENTS>
The <MSG_EVENTS> element defines the OpCon event to send to the SAM-SS when the message meets the search criteria.
- Requirements: Required for <msg_info> if
<MSG_ACTN> is 'Both'. - Valid Values: Available Values: Complete list of
OpCon events and as in the Job Master >
Events screen.
- Minimum Characters: 1
- Maximum Characters: 738
Spools Element Definitions
<SPL_info></SPL_info>
The parent element <spl_info> contains the child elements needed to define a single spool file definition for an IBM i job. Up to 99 <spl_info> elements can be defined for each IBM i job.
- Requirements: Required to define a spool file definition for the job.
- Valid Values: One of each of the following child elements: <spl_name>, <spl_user>, <spl_outq_name>, <spl_outq_lib>, <spl_copies>, <spl_hld>, <spl_save>
<SPL_NAME></SPL_NAME>
The <SPL_NAME> element defines the name of the file that contains the output from the job.
- Requirements: This field is Required for <spl_info>.
- EM field label: File Name
- Valid Values: Available Values: *ALL
- Minimum Characters: 1
- Maximum Characters: 10
<SPL_USER></SPL_USER>
The <SPL_USER> element defines the user that creates the spool file.
- Requirements: This field is Required for <spl_info> if <SPL_OUTQ_NAME> is blank. - EM field label: User
- Valid Values: All values from the Batch User Privileges screen
- Minimum Characters: 1
- Maximum Characters: 10
<SPL_OUTQ_NAME></SPL_OUTQ_NAME>
The <SPL_OUTQ_NAME> element defines the queue where the spool files are stored.
- Requirements: This field is Required for <spl_info> if <SPL_USER> is blank. - EM field label: OutQ Name
- Valid Values: Available Values: *USRPRF
- Minimum Characters: 1
- Maximum Characters: 10
<SPL_OUTQ_LIB></SPL_OUTQ_LIB>
The <SPL_OUTQ_LIB> element defines the library that contains the Outq.
- Requirements: This field is Required for <spl_info> if <SPL_OUTQ_NAME> is not blank.
- EM field label: OutQ Library
- Valid Values: Blank, but if user selects *USRPRF for Outq Name,
set *USRPRF for Outq Library.
- Available Values: *USRPRF and *LIBL
- Minimum Characters: 1
- Maximum Characters: 10
<SPL_COPIES></SPL_COPIES>
The <SPL_COPIES> element defines the number of spool file copies to create.
- Requirements: Optional for <spl_info>.
- EM field label: Total Copies
- Valid Values: User must type their own value
- Minimum Value: 1
- Maximum Value: 255
<SPL_HLD></SPL_HLD>
The <SPL_HLD> element indicates whether to print the spool file.
- Requirements: Optional for <spl_info>.
- EM field label: Hold
- Valid Values: * (accept default), Yes, No
<SPL_SAVE></SPL_SAVE>
The <SPL_SAVE> element indicates whether to save the spool file after it is printed.
- Requirements: Optional for <spl_info>.
- EM field label: Save
- Valid Values: * (accept default), Yes, No
Variables Element Definitions
<ibmi_agent_var_info></ibmi_agent_var_info>
The parent element <ibmi_agent_var_info> contains the child elements needed to define a single variable definition for an IBM i job.
- Requirements: Required to define a variables definition for the job.
- Valid Values: One of each of the following child elements: <ibmi_agent_var>, <ibmi_agent_var_val>
<ibmi_agent_var></ibmi_agent_var>
The <ibmi_agent_var> element defines the name of the IBM i LSAM Dynamic Variable that stores the value.
- Requirements: Required for <ibmi_agent_var_info>.
- EM Field label: Variable Name
- Valid Values: A - Z, 0 - 9, and special characters
- Maximum Characters: 12
<ibmi_agent_var_val></ibmi_agent_var_val>
The <ibmi_agent_var_val> element defines the character string to use as the value to be stored in the IBM i LSAM Dynamic Variables table.
- Requirements: Required for <ibmi_agent_var_info>.
- EM field label: Value
- Valid Values: User-defined value, or a Token
- Maximum Characters: 128
Java Job Element Structure
The following sample code contains the structure for defining every possible element for Java Primary Job Data. For detailed information on each field for this job type, refer to Java Job Details in the Concepts online help.
<msg>
<msgtype></msgtype>
<schedule>
<job>
<job_subtype></job_subtype>
<jobdata>
<java_uid></java_uid>
<java_operation></java_operation>
<java_jar></java_jar>
<java_class></java_class>
<java_method></java_method>
<java_alt_jvm></java_alt_jvm>
<java_cmd_file></java_cmd_file>
<java_exe></java_exe>
<java_params></java_params>
<java_jvm_args></java_jvm_args>
<java_env_vars></java_env_vars>
<java_rtn_info>
<java_rtn_oper></java_rtn_oper>
<java_rtn_val></java_rtn_val>
</java_rtn_info>
<java_rtn_info>
<java_rtn_oper></java_rtn_oper>
<java_rtn_oper><java_rtn_val></java_rtn_val>
</java_rtn_info>
</jobdata>
</job>
</schedule>
</msg>
Job Information Element Definitions
<java_uid></java_uid>
The <java_uid> element defines the user that the Java class or executable will run as.
- Requirements: This field is currently not in use.
- EM field label: User ID
- Valid Values:
- Minimum Characters: 1
- Maximum Characters: 32
<java_operation></java_operation>
The <java_operation> element defines the type of operation that will be performed (i.e., execution of a Java class or a command line).
- Requirements: This is a required field.
- EM field label: Operation
- Valid Values: CLASS, COMMAND, JAR
<java_jar></java_jar>
The <java_jar> element defines the jar file containing the class and method to be executed.
- Requirements: This is a required field for operations "CLASS" and "JAR" and must end with a .jar extension.
- EM field label: Jar File Name
- Valid Values: Alpha and numeric characters, - (hyphen) and _
(underscore) characters, and period.
- Minimum Characters: 1
- Maximum Characters: 4000
<java_class></java_class>
The <java_class> element defines the name of the Java class to be executed.
- Requirements: This is a required field if the operation is "CLASS".
- EM field label: Class Name
- Valid Values: Alpha and numeric characters, - (hyphen) and _
(underscore) characters, and period.
- Minimum Characters: 1
- Maximum Characters: 4000
<java_method></java_method>
The <java_method> element defines the name of the Java method to be executed.
- Requirements: This is an optional field if the operation is "CLASS".
- EM field label: Method Name
- Valid Values: Alpha and numeric characters, - (hyphen) and _
(underscore) characters, and period. If a value is not specified,
this will default to "main", which is the default execution method
of a Java object.
- Minimum Characters: 1
- Maximum Characters: 4000
<java_alt_jvm></java_alt_jvm>
The <java_alt_jvm> element defines the path to an alternate JVM to be executed by the Java Agent.
- Requirements: This is an optional field for operations "CLASS" and "JAR".
- EM field label: Alternate JVM
- Valid Values:
- Minimum characters: 1
- Maximum characters: 4000
- Valid characters: all
<java_cmd_file></java_cmd_file>
The <java_cmd_file> element defines the name of the command file to be executed.
- Requirements: This is a required field for operations "COMMAND" and "JAR" and consists of the full file name where the command <java_cmd> value can be found.
- EM field label: Directory Path
- Valid Values:
- Minimum Characters: 1
- Maximum Characters: 4000
<java_exe></java_exe>
The <java_exe> element defines the name of the executable or script to be run.
- Requirements: This is a required field if the operation is "COMMAND" and must end with an .exe, a .cmd, a .bat, or a .sh extension.
- EM field label: Executable
- Valid Values:
- Minimum Characters: 1
- Maximum Characters: 4000
Parameter Element Definitions
<java_params></java_params>
The <java_params> element defines the list of parameters to be passed to the method or executable. The parameters are defined as: name1=value1,name2=value2,name3=value3. The parameters are passed to the method or executable in the order in which they are defined. For the CLASS operation, the name(n) is used to identify the parameter type that the method expects. For the COMMAND operation, the name(n) is used to identify the parameter type or define an indicator that the command expects.
- Requirements: This is an optional field.
- EM field label: Parameters
- Valid Values:
- Minimum Characters: 1
- Maximum Characters: 4000
- Valid Characters: Alpha and numeric characters, - (hyphen) and _ (underscore) characters, and period.
- For the CLASS operation, valid values are: STRING, INTEGER, LONG, or BOOLEAN. The name(n) definition is not passed to the method, only the value.
- For the COMMAND operation, valid values are: STRING, INTEGER, LONG, BOOLEAN, or an indicator, such as --p, etc. When the name(n) value is STRING, INTEGER, LONG, or BOOLEAN, the definition is not passed to the command.
JVM Arguments Element Definitions
<java_jvm_args></java_jvm_args>
The <java_jvm_args> element defines the list of JVM arguments that are set as part of the JVM call on the --java command line. The JVM arguments are defined as: name1=value1,name2=value2,name3=value3. The environment variables are passed in the order in which they are defined.
- Requirements: This is an optional field.
- EM field label: JVM Argument
- Valid Values:
- Minimum Characters: 1
- Maximum Characters: 4000
- Valid Characters: Alpha and numeric characters, * (asterisk), / (slash), \ (backslash), % (percent), : (colon), - (hyphen) and _ (underscore) characters, and period.
- For the CLASS operation, valid values are: STRING, INTEGER, LONG, or BOOLEAN. The name(n) definition is not passed to the method, only the value.
Environment Variables Element Definitions
<java_env_vars></java_env_vars>
The <java_env_vars> element defines the list of environment variables to be passed. The environment variables are defined as: name1=value1,name2=value2,name3=value3. The environment variables are passed in the order in which they are defined.
- Requirements: This is an optional field.
- EM field label: Environment Variable
- Valid Values:
- Minimum Characters: 1
- Maximum Characters: 4000
- Valid Characters: Alpha and numeric characters, * (asterisk), / (slash), \ (backslash), % (percent), : (colon), - (hyphen) and _ (underscore) characters, and period.
- For the CLASS operation, valid values are: STRING, INTEGER, LONG, or BOOLEAN. The name(n) definition is not passed to the method, only the value.
- For the COMMAND operation, valid values are: STRING, INTEGER, LONG, BOOLEAN, or an indicator, such as --p, etc. When the name(n) value is STRING, INTEGER, LONG, or BOOLEAN, the definition is not passed to the command.
Return Code Element Definitions
<java_rtn_info></java_rtn_info>
The parent element <java_rtn_info> contains the child elements needed to define a single failure criterion for the job. SMADDI supports up to five <java_rtn_info> elements for each Java job.
- Requirements: Optional for <jobdata>. Required to define failure criteria for the job. At least one <java_rtn_info> element must be provided.
- Valid Values: One <java_rtn_oper> and one <java_rtn_val> child element
<java_rtn_oper><java_rtn_oper>
The return operators are a list of conditions to be met on the return codes and up to five can be defined per job definition. The Failure Criteria determines how OpCon reports the final status of the job. If any of the specified conditions are met, OpCon reports the job as Failed.
- Requirements: Required field for <java_rtn_info>.
- Valid Values: EQ, NE, LT, GT, GE, LE
<java_rtn_val></java_rtn_val>
The <java_rtn_val> element defines the value of the exit condition and up to five can be defined per job definition. The Failure Criteria determines how OpCon reports the final status of the job. If any of the specified conditions are met, OpCon reports the job as Failed.
- Requirements: Required field for <java_rtn_info>.
- Valid Values: -2147483648 through 2147483647
MCP Job Elements
The following sample code contains the structure for defining every possible element for MCP Primary Job Elements. For detailed information on each field for this job type, refer to MCP Job Details in the Concepts online help.
<msg>
<msgtype></msgtype>
<schedule>
<job>
<jobdata>
------Job Information Element Definitions------
<user_code></user_code>
<access_code></access_code>
<job_init></job_init>
------ START and RUN Definitions------
<file_title></file_title>
<args></args>
<mcp_task_attributes>
<mcp_task_attribute></mcp_task_attribute>
</mcp_task_attributes>
<mcp_file_attributes>
<mcp_file_attribute></mcp_file_attribute>
</mcp_file_attributes>
<mcp_eot notice></mcp_eot_notice>
<mcp_template display></mcp_template_display>
<mcpjobsummary>
<job_summary_usercode></job_summary_usercode>
<job_summary_family></job_summary_family>
<job_summary_dir_file></job_summary_dir_file>
</mcpjobsummary>
------ EAE/AB Suite Definitions------
<eae_report_name></eae_report_name>
<eae_accept_file></eae_accept_file>
<eae_parameters></eae_parameters>
------ CHANGE Definitions------
<mcp_change_source></mcp_change_source>
<mcp_change_new></mcp_change_new>
<mcp_change_from></mcp_change_from>
------ COPY Definitions------
<mcp_copy_source></mcp_copy_source>
<mcp_copy_from></mcp_copy_from>
<mcp_copy_from_kind></mcp_copy_from_kind>
<mcp_copy_destination></mcp_copy_destination>
<mcp_copy_to></mcp_copy_to>
<mcp_copy_to_kind></mcp_copy_to_kind>
<mcp_copy_hostname></mcp_copy_hostname>
<mcp_copy_compare></mcp_copy_compare>
------ REMOVE Definitions------
<mcp_remove_source></mcp_remove_source>
<mcp_remove_from></mcp_remove_from>
------ Prerun Information Element Definitions------
<mcpprerun>
<pre_job_int></pre_job_int>
------ Prerun START and RUN Definitions------
<pre_file_title></pre_file_title>
<pre_args></pre_args>
<mcp_pre_task_attributes>
<mcp_pre_task_attribute></mcp_pre_task_attribute>
</mcp_pre_task_attributes>
<mcp_pre_file_attributes>
<mcp_pre_file_attribute></mcp_pre_file_attribute>
</mcp_pre_file_attributes>
<mcp_pre_eot notice></mcp_pre_eot_notice>
<mcp_pre_template display></mcp_pre_template_display>
<mcppre_jobsummary>
<mcp_pre_job_summary_usercode>
</mcp_pre_job_summary_usercode>
<mcp_pre_job_summary_family>
</mcp_pre_job_summary_family>
<mcp_pre_job_summary_dir_file>
</mcp_pre_job_summary_dir_file>
</mcppre_jobsummary>
------ Prerun EAE/AB Suite Definitions------
<pre_eae_report_name></pre_eae_report_name>
<pre_eae_accept_file></pre_eae_accept_file>
<pre_eae_parameters></pre_eae_parameters>
------ Prerun CHANGE Definitions------
<mcp_pre_change_source></mcp_pre_change_source>
<mcp_pre_change_new></mcp_pre_change_new>
<mcp_pre_change_from></mcp_pre_change_from>
------ Prerun COPY Definitions------
<mcp_pre_copy_source></mcp_pre_copy_source>
<mcp_pre_copy_from></mcp_pre_copy_from>
<mcp_pre_copy_from_kind></mcp_pre_copy_from_kind>
<mcp_pre_copy_destination></mcp_pre_copy_destination>
<mcp_pre_copy_to></mcp_pre_copy_to>
<mcp_pre_copy_to_kind></mcp_pre_copy_to_kind>
<mcp_pre_copy_hostname></mcp_pre_copy_hostname>
<mcp_pre_copy_compare></mcp_pre_copy_compare>
------ Prerun REMOVE Definitions------
<mcp_pre_remove_source></mcp_pre_remove_source>
<mcp_pre_remove_from></mcp_pre_remove_from>
</mcpprerun>
------ Failure Criteria Definitions------
<fail_code></fail_code>
<fail_reset></fail_reset>
</jobdata>
</job>
</schedule>
</msg>
Job Information Element Definitions
<user_code></user_code>
The <user_code> element defines the MCP user to be impersonated when launching the job.
- Requirements: Required for MCP <jobdata>.
- EM field label: User Code
- Valid Values: The user ID must not exceed 17 characters.
<access_code></access_code>
The <access_code> element defines the MCP Access Code that the job uses.
- Requirements: Optional for MCP <jobdata>.
- EM field label: Access Code
- Valid Values: A valid Access Code. The Access Code must not exceed 17 characters.
<job_init></job_init>
The <job_init> element defines the job initiation command to be used when launching the job.
- Requirements: Required for MCP <jobdata>.
- Valid Values: Valid values for this element are START, RUN, EAE/AB Suite, CHANGE, COPY, and REMOVE.
START and RUN Definitions
<file_title></file_title>
The <file_title> element defines the file title used for the job.
- Requirements: Required for MCP <jobdata> when the value for the <job_init> element is START or RUN.
- EM field label: File Title
- Valid Values: The file title may not exceed 96 characters.
<args></args>
The <args> element defines the arguments to be used by the job.
- Requirements: Optional for MCP <jobdata>.
- EM field label: Arguments
- Valid Values: The arguments may not exceed 200 characters.
<mcp_task_attributes></mcp_task_attributes>
The parent element <mcp_task_attributes> contains the child elements needed to define one or more task attributes for a job.
- Requirements: Optional for MCP <jobdata>.
- Valid Values: Any valid <mcp_task_attributes> child element.
<mcp_task_attribute></mcp_task_attribute>
The <mcp_task_attribute> element defines a task attribute to be used by the job. Up to 10 <mcp_task_attribute> tags can be defined to specify multiple task attributes.
- Requirements: Optional for MCP <jobdata>.
- EM field label: Task Attributes
- Valid Values: A task attribute may not exceed 300 characters.
<mcp_file_attributes></mcp_file_attributes>
The parent element <mcp_file_attributes> contains the child elements needed to define one or more file attributes for a job.
- Requirements: Optional for MCP <jobdata>.
- Valid Values: Any valid <mcp_file_attributes> child element.
<mcp_file_attribute></mcp_file_attribute>
The <mcp_file_attribute> element defines a file attribute to be used by the job. Up to 10 <mcp_file_attribute> tags can be defined to specify multiple file attributes.
- Requirements: Optional for MCP <jobdata>.
- EM field label: File Attributes
- Valid Values: A file attribute may not exceed 300 characters.
<mcp_eot_notice></mcp_eot_notice>
The <mcp_eot_notice> element defines whether to treat each end-of-task notification for this job as a display message.
- Requirements: Optional for MCP <jobdata>.
- EM field label: EOT Notice Message
- Valid Values: Y or N.
<mcp_template_display></mcp_template_display>
The <mcp_template_display> element defines the template displays file associated with the OpCon job's messages.
- Requirements: Optional for MCP <jobdata>.
- EM field label: Template Displays File
- Valid Values: Any valid MCP template displays file.
<mcpjobsummary></mcpjobsummary>
The parent element <mcpjobsummary> contains the child elements needed to describe the job summary detail location for the primary job. Individual job summary information is only valid when the value for the <job_init> element is START.
- Requirements: Optional for <jobdata>.
- Valid Values: SMADDI allows only one <mcpjobsummary> element per <jobdata> element.
<job_summary_usercode></job_summary_usercode>
This element defines the user code under which the Job Summary information will exist.
- Requirements: Required for MCP <mcpjobsummary>.
- EM field label: Job Summary Usercode
- Valid Values: The Usercode may not exceed 17 characters.
<job_summary_family></job_summary_family>
This element specifies the Family name to use when looking up the Job Summary information for the job when using JORS.
- Requirements: Required for MCP <mcpjobsummary>.
- EM field label: Job Summary Family
- Valid Values: The Family name may not exceed 96 characters.
<job_summary_dir_file></job_summary_dir_file>
Specifies the Directory or Filename to use when looking up the Job Summary information for the job when using JORS.
- Requirements: Required for MCP <mcpjobsummary>.
- EM field label: Job Summary Directory or Filename
- Valid Values: The Directory or Filename may not exceed 200 characters.
EAE/AB Suite Definitions
<eae_report_name></eae_report _name>
Specifies the name of the EAE/AB Suite report to execute.
- Requirements: Required for MCP <jobdata> when<job_init> is EAE/AB Suite.
- EM field label: Report Name
- Valid Values: The Report Name may not exceed 256 characters.
<eae_accept_file></eae_accept_file>
Specifies the filename that the LSAM will create with the arguments in the Parameters field for the EAE/AB Suite command.
- Requirements: Required for MCP <jobdata> when<job_init> is EAE/AB Suite.
- EM field label: AcceptFile
- Valid Values: The AcceptFile may not exceed 256 characters.
<eae_parameters></eae_parameters>
Specifies all the parameters to run the EAE/AB Suite report.
- Requirements: Required for MCP <jobdata> when<job_init> isEAE/AB Suite.
- EM field label: Parameters
- Valid Values: The Parameters may not exceed 256 characters.
CHANGE Definitions
<mcp_change_source></mcp_change_source>
Specifies the filename or the directory that will be changed (e.g., *SMA/COMM or *SMA/=).
- Requirements: Required for MCP <jobdata> when the value for the <job_init> element is CHANGE.
- EM field label: Source File or Directory
- Valid Values: The Source file or Directory may not exceed 256 characters.
<mcp_change_new></mcp_change_new>
Specifies the new filename or directory name (e.g., *SMA/NEWCOMM or *SMANEW/=).
- Requirements: Required for MCP <jobdata> when the value for the <job_init> element is CHANGE.
- EM field label: New File or Directory
- Valid Values: The New Source File or Directory may not exceed 256 characters.
<mcp_change_from></mcp_change_from>
Specifies the place where the source file is. It can be a Family Disk name or a tape name.
- Requirements: Required for MCP <jobdata> when the value for the <job_init> element is CHANGE.
- EM field label: From
- Valid Values: The From value may not exceed 96 characters.
COPY Definitions
<mcp_copy_source></mcp_copy_source>
Specifies the filename or the directory that will be copied (e.g., *SMA/COMM or *SMA/=).
- Requirements: Required for MCP <jobdata> when the value for the <job_init> element is COPY.
- EM field label: Source File or Directory
- Valid Values: The Source file or Directory may not exceed 256 characters.
<mcp_copy_from></mcp_copy_from>
Specifies the place where the source file is. It can be a Family Disk name or a tape name.
- Requirements: Required for MCP <jobdata> when the value for the <job_init> element is COPY.
- EM field label: From
- Valid Values: The From value may not exceed 96 characters.
<mcp_copy_from_kind></mcp_copy_from_kind>
Specifies the kind of the device for the source file.
- Requirements: Required for MCP <jobdata> when the value for the <job_init> element is COPY.
- EM field label: Kind
- Valid Values: PACK or TAPE
<mcp_copy_destination></mcp_copy_destination>
Specifies the new filename or directory name for the copied file (e.g., *SMA/NEWCOMM or *SMANEW/=).
- Requirements: Required for MCP <jobdata> when the value for the <job_init> element is COPY.
- EM field label: Destination File or Directory
- Valid Values: The Destination Source File or Directory may not exceed 256 characters.
<mcp_copy_to></mcp_copy_to>
Specifies the place where the destination file will be placed. It can be a Family Disk name or a tape name.
- Requirements: Required for MCP <jobdata> when the value for the <job_init> element is COPY.
- EM field label: To
- Valid Values: The To value may not exceed 96 characters.
<mcp_copy_to_kind></mcp_copy_to_kind>
Specifies the kind of the device for the destination file.
- Requirements: Required for MCP <jobdata> when the value for the <job_init> element is COPY.
- EM field label: Kind
- Valid Values: PACK or TAPE
<mcp_copy_hostname></mcp_copy_hostname>
Specifies the Unisys MCP hostname to where the file will be copied. If blank, the application assumes that this is not a BNA Transfer copy.
- Requirements: Required for MCP <jobdata> when the value for the <job_init> element is COPY.
- EM field label: Hostname (if BNA Transfer)
- Valid Values: The Hostname may not exceed 256 characters.
<mcp_copy_compare></mcp_copy_compare>
Specifies if the "COPY & COMPARE" feature is to be used to copy the file.
- Requirements: Optional for MCP <jobdata> when the value for the <job_init> element is COPY.
- EM field label: Copy & Compare
- Valid Values: Y or N
REMOVE Definitions
<mcp_remove_source></mcp_remove_source>
Specifies the filename or the directory that will be removed (e.g., *SMA/COMM or *SMA/=).
- Requirements: Required for MCP <jobdata> when the value for the <job_init> element is REMOVE.
- EM field label: Source File or Directory
- Valid Values: The Source File or Directory may not exceed 256 characters.
<mcp_remove_from></mcp_remove_from>
Specifies the place where the source file is. It can be a Family Disk name or a tape name.
- Requirements: Required for MCP <jobdata> when the value for the <job_init> element is REMOVE.
- EM field label: From
- Valid Values: The From value may not exceed 96 characters.
Prerun Information Element Definitions
<mcpprerun></mcpprerun>
The parent element <mcpprerun> contains the child elements needed to describe a prerun job for the primary job.
- Requirements: Optional for MCP Prerun <jobdata>.
- Valid Values: SMADDI allows only one <mcpprerun> element per <jobdata> element.
<pre_job_int></pre_job_int>
The <pre_job_int> element defines the job initiation command to be used when launching the prerun job.
- Requirements: Required for <mcpprerun>.
- Valid Values: Valid values for this element are START and RUN.
Prerun START and RUN Definitions
<pre_file_title></pre_file_title>
The <pre_file_title> element defines the file title used for the prerun job.
- Requirements: Required for <mcpprerun>.
- EM field label: File Title
- Valid Values: The file title must not exceed 96 characters.
<pre_args></pre_args>
The <pre_job_int> element defines the job initiation command to be used when launching the prerun job.
- Requirements: Required for <mcpprerun>.
- EM field label: Arguments
- Valid Values: The file title must not exceed 92 characters.
<mcp_pre_task_attributes></mcp_pre_task_attributes>
The parent element <mcp_pre_task_attributes> contains the child elements needed to define one or more task attributes for a prerun job.
- Requirements: Optional for MCP <jobdata>.
- Valid Values: Any valid <mcp_pre_task_attributes> child element.
<mcp_pre_task_attribute></mcp_pre_task_attribute>
The <mcp_pre_task_attribute> element defines a task attribute to be used by the job. Up to 10 <mcp_pre_task_attribute> tags can be defined to specify multiple task attributes.
- Requirements: Optional for MCP <jobdata>.
- EM field label: Task Attributes
- Valid Values: A task attribute may not exceed 300 characters.
<mcp_pre_file_attributes></mcp_pre_file_attributes>
The parent element <mcp_pre_file_attributes> contains the child elements needed to define one or more file attributes for a prerun job.
- Requirements: Optional for MCP <jobdata>.
- Valid Values: Any valid <mcp_pre_file_attributes> child element.
<mcp_pre_file_attribute></mcp_pre_file_attribute>
The <mcp_pre_file_attribute> element defines a file attribute to be used by the prerun job. Up to 10 <mcp_pre_file_attribute> tags can be defined to specify multiple file attributes.
- Requirements: Optional for MCP <jobdata>.
- EM field label: File Attributes
- Valid Values: A file attribute may not exceed 300 characters.
<mcp_pre_eot_notice></mcp_pre_eot_notice>
The <mcp_pre_eot_notice> element defines whether to treat each end-of-task notification for this prerun job as a display message.
- Requirements: Optional for MCP <jobdata>.
- EM field label: EOT Notice Message
- Valid Values: Y or N.
<mcp_pre_template_display></mcp_pre_template_display>
The <mcp_pre_template_display> element defines the template displays file associated with the OpCon job's messages.
- Requirements: Optional for MCP <jobdata>.
- EM field label: Template Displays File
- Valid Values: Any valid MCP template displays file.
<mcppre_jobsummary></mcppre_jobsummary>
The parent element <mcppre_jobsummary> contains the child elements needed to describe the job summary detail location for the prerun job. Individual job summary information is only valid when the value for the <pre_job_init> element is START.
- Requirements: Optional for <jobdata>.
- Valid Values: SMADDI allows only one <mcppre_jobsummary> element per <mcpprerun> element.
<mcp_pre_job_summary_usercode></mcp_pre_job_summary_usercode>
This element defines the user code under which the Job Summary information will exist for the prerun.
- Requirements: Required if the <mcp_pre_job_summary_family> and/or <mcp_pre_job_summary_dir_file> elements exist.
- EM field label: Job Summary Usercode
- Valid Values: The Usercode may not exceed 17 characters.
<mcp_pre_job_summary_family></mcp_pre_job_summary_family>
This element specifies the Family name to use when looking up the Job Summary information for the prerun when using JORS.
- Requirements: Required if the <mcp_pre_job_summary_usercode> and/or <mcp_pre_job_summary_dir_file> elements exist.
- EM field label: Job Summary Family
- Valid Values: The Family name may not exceed 96 characters.
<mcp_pre_job_summary_dir_file></mcp_pre_job_summary_dir_file>
Specifies the Directory or Filename to use when looking up the Job Summary information for the prerun when using JORS.
- Requirements: Required if the <mcp_pre_job_summary_usercode> and/or <mcp_pre_job_summary_family> elements exist.
- EM field label: Job Summary Directory or Filename
- Valid Values: The Directory or Filename may not exceed 200 characters.
Prerun EAE/AB Suite Definitions
<pre_eae_report_name></pre_eae_report _name>
Specifies the name of the EAE/AB Suite report to execute.
- Requirements: Required for MCP <mcpprerun> when <pre_job_init> is EAE/AB Suite.
- EM field label: Report Name
- Valid Values: The Report Name may not exceed 256 characters.
<pre_eae_accept_file></pre_eae_accept_file>
Specifies the filename that the LSAM will create with the arguments in the <pre_eae_parameters> element.
- Requirements: Required for MCP <mcpperun> when <pre_job_init> is EAE/AB Suite.
- EM field label: AcceptFile
- Valid Values: The AcceptFile may not exceed 256 characters.
<pre_eae_parameters></pre_eae_parameters>
Specifies all the parameters to run the EAE/AB Suite report.
- Requirements: Required for MCP <mcpprerun> when <pre_job_init> is EAE/AB Suite.
- EM field label: Parameters
- Valid Values: The Parameters may not exceed 256 characters.
Prerun CHANGE Definitions
<mcp_pre_change_source></mcp_pre_change_source>
Specifies the filename or the directory that will be changed (e.g., *SMA/COMM or *SMA/=).
- Requirements: Required for MCP <mcpprerun> when the value for the <pre_job_init> element is CHANGE.
- EM field label: Source File or Directory
- Valid Values: The Source file or Directory may not exceed 256 characters.
<mcp_pre_change_new></mcp_pre_change_new>
Specifies the new filename or directory name (e.g., *SMA/NEWCOMM or *SMANEW/=).
- Requirements: Required for MCP <mcpprerun> when the value for the <pre_job_init> element is CHANGE.
- EM field label: New File or Directory
- Valid Values: The New File or Directory may not exceed 256 characters.
<mcp_pre_change_from></mcp_pre_change_from>
Specifies the place where the source file is. It can be a Family Disk name or a tape name.
- Requirements: Required for MCP <mcpprerun> when the value for the <pre_job_init> element is CHANGE.
- EM field label: From
- Valid Values: The From value may not exceed 96 characters.
Prerun COPY Definitions
<mcp_pre_copy_source></mcp_pre_copy_source>
Specifies the filename or the directory that will be copied (e.g., *SMA/COMM or *SMA/=).
- Requirements: Required for MCP <mcpprerun> when the value for the <pre_job_init> element is COPY.
- EM field label: Source File or Directory
- Valid Values: The Source file or Directory may not exceed 256 characters.
<mcp_pre_copy_from></mcp_pre_copy_from>
Specifies the place where the source file is. It can be a Family Disk name or a tape name.
- Requirements: Required for MCP <mcpprerun> when the value for the <pre_job_init> element is COPY.
- EM field label: From
- Valid Values: The From value may not exceed 96 characters.
<mcp_pre_copy_from_kind></mcp_pre_copy_from_kind>
Specifies the kind of the device for the source file.
- Requirements: Required for MCP <mcpprerun> when the value for the <pre_job_init> element is COPY.
- EM field label: Kind
- Valid Values: PACK or TAPE
<mcp_pre_copy_destination></mcp_pre_copy_destination>
Specifies the new filename or directory name for the copied file (e.g., *SMA/NEWCOMM or *SMANEW/=).
- Requirements: Required for MCP <mcpprerun> when the value for the <pre_job_init> element is COPY.
- EM field label: Destination File or Directory
- Valid Values: The Destination Source File or Directory may not exceed 256 characters.
<mcp_pre_copy_to></mcp_pre_copy_to>
Specifies the place where the destination file will be placed. It can be a Family Disk name or a tape name.
- Requirements: Required for MCP <mcpprerun> when the value for the <pre_job_init> element is COPY.
- EM field label: To
- Valid Values: The To value may not exceed 96 characters.
<mcp_pre_copy_to_kind></mcp_pre_copy_to_kind>
Specifies the kind of the device for the destination file.
- Requirements: Required for MCP <mcpprerun> when the value for the <pre_job_init> element is COPY.
- EM field label: Kind
- Valid Values: PACK or TAPE
<mcp_pre_copy_hostname></mcp_pre_copy_hostname>
Specifies the Unisys MCP hostname to where the file will be copied. If blank, the application assumes that this is not a BNA Transfer copy.
- Requirements: Required for MCP <mcpprerun> when the value for the <pre_job_init> element is COPY.
- EM field label: Hostname (if BNA Transfer)
- Valid Values: The Hostname may not exceed 256 characters.
<mcp_pre_copy_compare></mcp_pre_copy_compare>
Specifies if the "COPY & COMPARE" feature is to be used to copy the file.
- Requirements: Optional for MCP <mcpprerun> when the value for the <pre_job_init> element is COPY.
- EM field label: Copy & Compare
- Valid Values: Y or N
Prerun REMOVE Definitions
<mcp_pre_remove_source></mcp_pre_remove_source>
Specifies the filename or the directory that will be removed (e.g., *SMA/COMM or *SMA/=).
- Requirements: Required for MCP <mcpprerun> when the value for the <pre_job_init> element is REMOVE.
- EM field label: Source File or Directory
- Valid Values: The Source file or Directory may not exceed 256 characters.
<mcp_pre_remove_from></mcp_pre_remove_from>
Specifies the place where the source file is. It can be a Family Disk name or a tape name.
- Requirements: Required for MCP <mcpprerun> when the value for the <pre_job_init> element is CHANGE.
- EM field label: From
- Valid Values: The From value may not exceed 96 characters.
Failure Criteria Definitions
<fail_code></fail_code>
The <fail_code> element defines the fail code for the job and up to 3 occurrences of this element can be defined per job definition.
- Requirements: Optional for MCP <jobdata>.
- EM field label: Fail Codes
- Valid Values: The fail code may not exceed 40 characters.
<fail_reset></fail_reset>
The <fail_reset> element defines the fail reset for the job and up to 2 occurrences of this element can be defined per job definition.
- Requirements: Optional for MCP <jobdata>.
- EM field label: Fail Reset
- Valid Values: The fail code may not exceed 40 characters.
OS 2200 Job Elements
The following sample code contains the structure for defining every possible element for OS 2200 Primary Job Elements. For detailed information on each field for this job type, refer to OS 2200 Job Details in the Concepts online help .
<msg>
<msgtype></msgtype>
<schedule>
<job>
<jobdata>
------Job Information Element Definitions------
<qlfr></qlfr>
<flname></flname>
<eltname></eltname>
<jprty></jprty>
<runopt></runopt>
<cword></cword>
<runid></runid>
<acct></acct>
<proj></proj>
<userid></userid>
<maxpg></maxpg>
<maxcrd></maxcrd>
<defstat></defstat>
------Completion Status Element Definitions------
<cstat>
<opr></opr>
<wdpt></wdpt>
<cond></cond>
<cwvalue></cwvalue>
<evalue></evalue>
<cstatus></cstatus>
</cstat>
------Prerun Job Element Definitions------
<uprerun>
<prqlfr></prqlfr>
<prflname></prflname>
<preltname></preltname>
<prjprty></prjprty>
<prrunopt></prrunopt>
<prcword></prcword>
<prrunid></prrunid>
<pracct></pracct>
<prproj></prproj>
<pruserid></pruserid>
<prmaxpg></prmaxpg>
<prmaxcrd></prmaxcrd>
<prdefstat></prdefstat>
<prcstat>
<propr></propr>
<prwdpt></prwdpt>
<prcond></prcond>
<prcwvalue></prcwvalue>
<prevalue></prevalue>
<prcstatus></prcstatus>
</prcstat>
The <fileinfo> and <uprerun> elements are mutually exclusive.
</uprerun>
------File Dependency Element Definitions------
<fileinfo>
<fdqlfr></fdqlfr>
<fdfname></fdfname>
<deptype></deptype>
<fsize></fsize>
</fileinfo>
<tknsub>
<lsamtkn></lsamtkn>
<opcontkn></opcontkn>
</tknsub>
</jobdata>
</job>
</schedule>
</msg>
Job Information Element Definitions
<qlfr></qlfr>
The <qlfr> element defines the Qualifier for the file containing the job's ECL.
- Requirements: Required for OS2200 <jobdata>.
- EM field label: Qualifier
- Valid Values: Valid data characters for this element are alphanumeric characters, the dollar sign ($), the pound sign (#), and the dash (--). The Qualifier must not exceed 12 characters.
If including a pound sign (#) with the qualifier, it must be the first character.
<flname></flname>
The <flname> element defines the File Name containing the job's ECL.
- Requirements: Required for OS2200 <jobdata>.
- EM field label: File Name
- Valid Values: Valid data characters for this element are alphanumeric characters, the dollar sign ($), dash (--), and forward slash (/). The File Name must not exceed 20 characters including read and write keys. The actual file name excluding read and write keys must not exceed 12 characters.
<flname>ECL$FILE/RKEY/WKEY</flname>
<eltname></eltname>
The <eltname> element defines the element and version name for the file element containing the job's ECL.
- Requirements: Optional for OS2200 <jobdata>.
- EM field label: Element Name
- Valid Values: Valid data characters are for this element are alphanumeric characters, the dollar sign ($), and the dash (--). The element and version name must not exceed 12 characters each. The element and version must be separated by a forward slash (/).
<eltname>RUN/GENERICP</eltname>
<jprty></jprty>
The <jprty> element defines the Priority used on the job's run card.
- Requirements: Optional for OS2200 <jobdata>.
- EM field label: Priority
- Valid Values: Valid data for this element is an alphabetical character.
<runopt></runopt>
The <runopt> element defines the options used on the job's run card.
- Requirements: Optional for OS2200 <jobdata>.
- EM field label: Options
- Valid Values: Valid data for this element are alphabetical characters B, D, N, O, P, R, S, T, W, X, Y recognized by OS 2200 as Options for the @RUN and @START ECL statements. The Options must not exceed 12 characters. If omitted, SMADDI does not define the Options.
<cword></cword>
The <cword> element defines the Condition Word value used on the job's run card.
- Requirements: Optional for OS2200 <jobdata>.
- EM field label: Condition Word (Octal)
- Valid Values: Valid data for this element is a four-digit positive octal number.
<runid></runid>
The <runid> element defines the Run ID used on the job's run card.
- Requirements: Optional for OS2200 <jobdata>.
- EM field label: Run ID
- Valid Values: Valid data for this element are alphanumeric characters. The Run ID must not exceed six characters.
<acct></acct>
The <acct> element defines the Account used on the job's run card.
- Requirements: Optional for OS2200 <jobdata>.
- EM field label: Account
- Valid Values: Valid data characters for this element are alphanumeric characters, the period (.), and the dash (--). The Account must not exceed 12 characters.
<proj></proj>
The <proj> element defines the Project ID used on the job's run card.
- Requirements: Optional for OS2200 <jobdata>.
- EM field label: Project
- Valid Values: Valid data characters for this element are alphanumeric characters, the dollar sign ($), and the dash (--). The Project ID must not exceed 12 characters.
<userid></userid>
The <userid> element defines the User ID used on the job's run card.
- Requirements: Optional for OS2200 <jobdata>.
- EM field label: User ID
- Valid Values: Valid data characters for this element are alphanumeric characters, the period (.), and the dash (--). The User ID must not exceed 12 characters.
<maxpg></maxpg>
The <maxpg> element defines the Max Pages value used on the job's run card.
- Requirements: Optional for OS2200 <jobdata>.
- EM field label: Max Pages
- Valid Values: Valid data for this element is an integer ranging from 0 to 9999.
<maxcrd></maxcrd>
The <maxcrd> element defines the Max Cards value used on the job's run card.
- Requirements: Optional for OS2200 <jobdata>.
- EM field label: Max Cards
- Valid Values: Valid data for this element is an integer ranging from 0 to 9999.
Completion Status Element Definitions
<defstat></defstat>
The <defstat> element defines the job's default Completion Status.
- Requirements: Optional for OS2200 <jobdata>.
- EM field label: Anything Else
- Valid Values: Valid data options for this element are GOOD FIN or BAD FIN.
<cstat></cstat>
The parent element <cstat> contains the child elements needed to describe a Completion Status for the job.
- Requirements: Required for OS2200 <jobdata>.
- Valid Values: Any valid child elements. SMADDI limits the number of <cstat> elements for each <jobdata> element to four.
<opr></opr>
The <opr> element defines the logical operator used to compare a job's Completion Statuses.
- Requirements: Optional for OS2200 <cstat>.
- EM field label: And/Or
- Valid Values: Valid data options for this element are AND and OR.
<wdpt></wdpt>
The <wdpt> element defines the part of the condition word to be tested for a specified value to determine completion status.
- Requirements: Optional for OS2200 <cstat>.
- EM field label: Word Part
- Valid Values: Valid data options for this element are S1, S2, S3, S4, S5, S6, T1, T2, and T3.
<cond></cond>
The <cond> element defines the operator for testing the value of the <wdpt>.
- Requirements: Optional for OS2200 <cstat>.
- EM field label: Condition
- Valid Values: Valid data options for this element are EQ, NE, LT, GT, GE, LE, L AND, and Range.
<cwvalue></cwvalue>
The <cwvalue> element defines the value to compare with the value of the <wdpt>.
- Requirements: Optional for OS2200 <cstat>.
- EM field label: Value
- Valid Values: Valid data for this element is an integer ranging from 0 to 9999.
<evalue></evalue>
The <evalue> element defines the End Value to compare with the value of the <wdpt> when the <cond> is Range.
- Requirements: Optional for OS2200 <cstat>.
- EM field label: End Value
- Valid Values: Valid data for this element is an integer ranging from 0 to 9999.
<cstatus></cstatus>
The <cstatus> element defines the job's Completion Status when the specified conditions are met.
- Requirements: Optional for OS2200 <cstat>.
- EM field label: Fin Status
- Valid Values: Valid data options for this element are GOOD FIN and BAD FIN.
Prerun Job Element Definitions
<uprerun></uprerun>
The parent element <uprerun> contains the child elements needed to describe a prerun job for the primary job.
- Requirements: Optional for OS2200 Prerun <jobdata>.
- Valid Values: Any valid child element. SMADDI allows only one <uprerun> element per <jobdata> element.
The <uprerun> and <fileinfo> elements are mutually exclusive.
<prqlfr></prqlfr>
The <prqlfr> element defines the Qualifier for the file containing the prerun job's ECL.
- Requirements: Required for OS2200 Prerun <uprerun>
- EM field label: Qualifier
- Valid Values: Valid data characters for this element are alphanumeric characters, the dollar sign ($), the pound sign (#), and the dash (--). The Qualifier must not exceed 12 characters.
If including a pound sign (#) with the qualifier, it must be the first character.
<prflname></prflname>
The value for <skdwkdays> specifies the number of workdays per week for the schedule.
- Requirements: Required for OS2200 Prerun <uprerun>.
- EM field label: File Name
- Valid Values: Valid data characters for this element are alphanumeric characters, the dollar sign ($), dash (--), and forward slash (/). The File Name must not exceed 20 characters including read and write keys. The actual file name excluding read and write keys must not exceed 12 characters.
<flname>ECL$FILE/RKEY/WKEY</flname>
<preltname></preltname>
The <preltname> element defines the element and version name for the file element containing the prerun job's ECL.
- Requirements: Optional for OS2200 Prerun <uprerun>.
- EM field label: Element Name
- Valid Values: Valid data characters are for this element are alphanumeric characters, the dollar sign ($), and the dash (--). The element and version name must not exceed 12 characters each. The element and version must be separated by a forward slash (/).
<eltname>RUN/GENERICP</eltname>
<prjprty></prjprty>
The <prjprty> element defines the Priority used on the prerun job's run card.
- Requirements: Optional for OS2200 Prerun <uprerun>.
- EM field label: Priority
- Valid Values: Valid data for this element is an alphabetical character.
<prrunopt></prrunopt>
The <prrunopt> element defines the Options used on the prerun job's run card.
- Requirements: Optional for OS2200 Prerun <uprerun>.
- EM field label: Options
- Valid Values: Valid data for this element are alphabetical characters recognized by OS 2200 as Options for the @RUN and @START ECL statements. The Options must not exceed 12 characters.
<prcword></prcword>
The <prcword> element defines the Condition Word value used on the prerun job's run card.
- Requirements: Optional for OS2200 Prerun <uprerun>.
- EM field label: Condition Word (Octal)
- Valid Values: Valid data for this element is a four-digit positive octal number.
<prrunid></prrunid>
The <prrunid> element defines the Run ID used on the prerun job's run card.
- Requirements: Optional for OS2200 Prerun <uprerun>.
- EM field label: Run ID
- Valid Values: Valid data for this element are alphanumeric characters. The Run ID must not exceed six characters.
<pracct></pracct>
The <pracct> element defines the Account used on the prerun job's run card.
- Requirements: Optional for OS2200 Prerun <uprerun>.
- EM field label: Account
- Valid Values: Valid data characters for this element are alphanumeric characters, the period (.), and the dash (--). The Account must not exceed 12 characters.
<prproj></prproj>
The <prproj> element defines the Project ID used on the prerun job's run card.
- Requirements: Optional for OS2200 Prerun <uprerun>.
- EM field label: Project
- Valid Values: Valid data characters for this element are alphanumeric characters, the dollar sign ($), and the dash (--). The Project ID must not exceed 12 characters.
<pruserid></pruserid>
The <pruserid> element defines the User ID used on the prerun job's run card.
- Requirements: Optional for OS2200 Prerun <uprerun>.
- EM field label: User ID
- Valid Values: Valid data characters for this element are alphanumeric characters, the period (.), and the dash (--). The User ID must not exceed 12 characters.
<prmaxpg></prmaxpg>
The <prmaxpg> element defines the Max Pages value used on the prerun job's run card.
- Requirements: Optional for OS2200 Prerun <uprerun>.
- EM field label: Max Pages
- Valid Values: Valid data for this element is an integer ranging from 0 to 9999.
<prmaxcrd></prmaxcrd>
The <prmaxcrd> element defines the Max Cards value used on the prerun job's run card.
- Requirements: Optional for OS2200 Prerun <uprerun>.
- EM field label: Max Cards
- Valid Values: Valid data for this element is an integer ranging from 0 to 9999.
<prdefstat></prdefstat>
The <prdefstat> element defines the prerun job's default Completion Status.
- Requirements: Optional for OS2200 Prerun <uprerun>.
- EM field label: Anything Else
- Valid Values: Valid data options for this element are GOOD FIN or BAD FIN.
<prcstat></prcstat>
The parent element <prcstat> contains the child elements needed to describe a Completion Status for the prerun job.
- Requirements: Required for OS2200 Prerun <uprerun>.
- Valid Values: Any valid child element. SMADDI limits the number of <prcstat> elements for each <uprerun> element to four.
<propr></propr>
The <propr> element defines the logical operator used to compare a prerun job's Completion Statuses.
- Requirements: Optional for <prcstat>.
- EM field label: And/Or
- Valid Values: Valid data options for this element are AND and OR.
<prwdpt></prwdpt>
The <prwdpt> element defines the part of the condition word to be tested for a specified value to determine completion status.
- Requirements: Optional for <prcstat>.
- EM field label: Word Part
- Valid Values: Valid data options for this element are S1, S2, S3, S4, S5, S6, T1, T2, and T3.
<prcond></prcond>
The <prcond> element defines the operator for testing the value of the <wdpt>.
- Requirements: Optional for <prcstat>.
- EM field label: Condition
- Valid Values: Valid data options for this element are EQ, NE, LT, GT, GE, LE, L AND, and Range.
<prevalue></prevalue>
The <prevalue> element defines the End Value to compare with the value of the <wdpt> when the <cond> is Range.
- Requirements: Optional for <prcstat>.
- EM field label: End Value
- Valid Values: Valid data for this element is an integer ranging from 0 to 9999.
<prcstatus></prcstatus>
The <prcstatus> element defines the prerun job's Completion Status when the specified conditions are met.
- Requirements: Optional for <prcstat>.
- EM field label: Fin Status
- Valid Values: Valid data options for this element are GOOD FIN and BAD FIN.
<prcwvalue></prcwvalue>
The <prcwvalue> element defines the value to compare with the value of the <wdpt>.
- Requirements: Optional for <prcstat>.
- EM field label: Value
- Valid Values: Valid data for this element is an octal number ranging from 0 to 7777.
File Dependency Element Definitions
<fileinfo></fileinfo>
The parent element <fileinfo> contains the child elements needed to describe a file dependency.
- Requirements: Optional for OS2200 File Dependencies <jobdata>.
- Valid Values: Any valid child element. SMADDI limits the number of <fileinfo> elements for each <jobdata> element to eight.
<fdqlfr></fdqlfr>
The <fdqlfr> element defines the Qualifier for the parent <fileinfo>.
- Requirements: Required for <fileinfo>.
- EM field label: Qualifier
- Valid Values: Valid data characters for this element are alphanumeric characters, the dollar sign ($), pound sign (#), and dash (--). The qualifier must not exceed 12 characters.
The pound sign (#) must be used in the first character in order to qualify.
<fdfname></fdfname>
The <fdfname> element defines the File Name for the parent <fileinfo>.
- Requirements: Required for <fileinfo>.
- EM field label: Filename
- Valid Values: Valid data options for this element are alphanumeric characters, the dollar sign ($), and the dash (--). The File Name must not exceed 12 characters.
<deptype></deptype>
The <deptype> element defines the dependency type for the parent <fileinfo>.
- Requirements: Required for <fileinfo>.
- EM field label: Type
- Valid Values: Valid data options for this element are Exists, Created, Deleted, Size, Referenced, Assigned, BackedUp, and Unloaded.
<fsize></fsize>
The <fsize> element defines the Size of the file used with the <deptype> of Size.
- Requirements: Optional for <fileinfo>.
- EM field label: Size
- Valid Values: Valid data for this element is an integer ranging from 0 to 999.
Token Equation Element Definitions
<tknsub></tknsub>
The parent element <tknsub> contains the child elements needed to describe a Token Replacement.
- Requirements: Optional for OS2200 Token Equations <jobdata>.
- Valid Values: Any valid child element. SMADDI does not limit the number of <tknsub> elements for each <jobdata> element.
<lsamtkn></lsamtkn>
The <lsamtkn> element defines the LSAM Token name as it appears in the ECL on the OS 2200 platform.
- Requirements: Required for <tknsub>.
- Valid Values: Valid token name as it appears in the ECL on the OS2200 platform.
<opcontkn></opcontkn>
The <opcontkn> element defines the OpCon Token Name used in the Token Replacement.
- Requirements: Required for <tknsub>.
- Valid Values: Valid data for this element is an existing token in the OpCon database.
Do not include the surrounding double brackets ([[ ]]) when listing the OpCon Token Name.
SAP R/3 and CRM Job Element Structure
The following sample code contains the structure for defining every possible element for SAP R/3 and CRM Job Data:
<msg>
<msgtype></msgtype>
<schedule>
<job>
<jobdata>
<sap_jobname></sap_jobname>
<sap_jobnumber></sap_jobnumber>
<sap_exec_target></sap_exec_target>
<sap_start_immediately></sap_start_immediately>
</jobdata>
</job>
</schedule>
</msg>