Hitachi

JP1 Version 13 JP1/Automatic Job Management System 3 for Cloud Service Applications


F.2 Execution definition file

The execution definition file can be downloaded by clicking Export on the Execution definition screen or the Home screen where an execution definition was selected. If the execution definition file is specified by clicking Import on the Execution definition screen, service linkage execution information can be imported to JP1/AJS3 for Cloud Service Applications.

The details of the execution definition file are as follows:

Organization of this subsection

(1) Default execution definition file name

When Export is clicked on the Execution definitions screen

slexecdefExport.txt

When Export is clicked on the Home screen where an execution definition was selected

entered_ slexecdefExport.txt

(2) Format of execution definition file

{
    "name":"Definition name of execution information",
    "comment": "Description",
    "jp1resource": "JPI resource group name",
    "productVersion": "Version information",
    "definitionKind": "EXECINFO",
    "callKind": "Call type of cloud service",
    "schemaVersion": "Schema version",
    "exec": {
        "cli": {
            "commandLine": "Command line to be executed",
            "envValue": [
                {
                    "name": "Environment variable name",
                    "value": "Value of environment variable"
                },...
            ]
        },
        "resultVariable": "Setting destination variable name of passing information",
        "abendInfo": {
            "condition": "Relational operator for abnormal end judgment condition",
            "value": Value of abnormal end judgment condition,
            "execAbendProc": Whether abnormal end processing needs to be executing,
            "returnValue": Return value of job in case of abnormal end
        },
        "procCondition": {
            "comparisonSource": "Comparison source variable name",
            "normalEndCondition": [
                Comparison destination of processing condition,...
            ],
            "abendSetting": {
                "execAbendProc": Whether abnormal end processing needs to be executing,
                "returnValue": Return value of job in case of abnormal end
            }
        },
        "traceInfo": {
            "logFileOut": {
                "cliCommandLine": Whether trace information needs to be output to CLI command line,
                "cliStdOut": Whether trace information needs to be output to the CLI command standard output,
                "cliStdErr": Whether trace information needs to be output to the CLI command standard error output
            },
            "stdErrOut": {
                "cliCommandLine": Whether trace information needs to be output to the CLI command line,
                "cliStdOut": Whether trace information needs to be output to the CLI command standard output,
                "cliStdErr": Whether trace information needs to be output to the CLI command standard error output
            }
        }
    },
    "endJudgement": {
        "cli": {
            "commandLine": "Command line to be executing",
            "envValue": [
                {
                    "name": "Environment variable name",
                    "value": "Value of environment variable"
                },...
            ]
        },
        "resultVariable": "Setting destination variable name of passing information",
        "abendInfo": {
            "condition": "Relational operator of abnormal end judgment condition",
            "value": Value of abnormal end judgment condition,
            "execAbendProc": "Whether abnormal end processing needs to be executed in case of abnormal end",
            "returnValue": Return value of job in case of abnormal end
        },
        "procCondition": {
            "comparisonSource": "Comparison source variable name of processing condition",
            "normalEndCondition": [
                Comparison destination of processing condition,...
            ],
            "continuing": {
                "continuingCondition": [
                    Comparison destination of continuation condition,...
                ],
                "repeatInterval": Comparison destination of continuation condition,
                "numOfRepeat": Number of repetitions of continuation condition,
                "execAbendProc": Whether execution of abnormal end processing needs to be executed,
                "returnValue": Return value of job when number of repetitions of continuation condition is exceeded
            },
            "abendSetting": {
                "execAbendProc": "Whether abnormal end processing needs to be executed",
                "returnValue": Return value of job in case of abnormal end
            }
        },
        "traceInfo": {
            "logFileOut": {
                "cliCommandLine": "Whether trace information needs to be output to the CLI command line",
                "cliStdOut": "Whether trace information needs to be output to the CLI command standard output",
                "cliStdErr": "Whether trace information needs to be output to the CLI command standard error output"
            },
            "stdErrOut": {
                "cliCommandLine": "Whether trace information needs to be output to the CLI command line",
                "cliStdOut": "Whether trace information needs to be output to the CLI command standard output",
                "cliStdErr": "Whether trace information needs to be output to the CLI command standard error output"
            }
        }
    },
    "normalEndProc": {
        "cli": {
            "commandLine": "Command line to be executed",
            "envValue": [
                {
                    "name": "Environment variable name",
                    "value": "Value of environment variable"
                },...
            ]
        },
        "resultVariable": "Setting destination variable name of passing information",
        "abendInfo": {
            "condition": "Relational operator of abnormal end judgment condition",
            "value": Value of abnormal end judgment condition,
            "returnValue": Return value of job in case of abnormal end
        },
        "traceInfo": {
            "logFileOut": {
                "cliCommandLine": "Whether trace information needs to be output to the CLI command line",
                "cliStdOut": "Whether trace information needs to be output to the CLI command standard output",
                "cliStdErr": "Whether trace information needs to be output to the CLI command standard error output"
            },
            "stdErrOut": {
                "cliCommandLine": "Whether trace information needs to be output to the CLI command line",
                "cliStdOut": "Whether trace information needs to be output to the CLI command standard output",
                "cliStdErr": "Whether trace information needs to be output to the CLI command standard error output"
            }
        }
    },
    "abendProc": {
        "cli": {
            "commandLine": "Command line to be executing",
            "envValue": [
                {
                    "name": "Environment variable name",
                    "value": "Value of environment variable"
                },...
            ]
        },
        "traceInfo": {
            "logFileOut": {
                "cliCommandLine": "Whether trace information needs to be output to the CLI command line",
                "cliStdOut": "Whether trace information needs to be output to the CLI command standard output",
                "cliStdErr": "Whether trace information needs to be output to the CLI command standard error output"
            },
            "stdErrOut": {
                "cliCommandLine": "Whether trace information needs to be output to the CLI command line",
                "cliStdOut": "Whether trace information needs to be output to the CLI command standard output",
                "cliStdErr": "Whether trace information needs to be output to the CLI command standard error output"
            }
        }
    },
    "outputResult": {
        "stdOut": "Information to output the output of the execution result as the standard output of a job",
        "stdErrOut": "Information to output the output of the execution result as the standard error output of a job"
    },
    "parameters": [
        {
            "name": "Variable name of variable definition",
            "type": "Resolution type of variable",
            "gui": {
                "fieldName": "Label name",
                "controlType": "textBox"
                "textBoxSettings": {
                    "lengthChar": Character string length,
                    "invalidChar": "Characters prohibited from being input"
                }
            },
            "exec": {
                "type": "env",
                "value": "Value of variable"
            }
        },...
    ]
}
Legend:

...: Repetition of items enclosed "{" and "}" immediately before

(3) Items of execution definition file

The details of each item of the execution definition file are shown in the table below.

Table F‒2: Items of execution definition file

Item

Description

name

Definition name of execution information

comment

Description of execution information

jp1resource

JPI resource group name of execution information

productVersion

Version information of JP1/AJS3 for Cloud Service Applications

definitionKind

Fixed to "EXECINFO"

callKind

Call type of cloud service

schemaVersion

Schema version of execution definition

exec

cli

commandLine

Command line to be executed during execution processing

envValue

name

Environment variable name during execution processing

value

Value of environment variable during execution processing

resultVariable

Setting destination variable name of passing information during execution processing

abendInfo

condition

Relational operator for abnormal end judgment condition during execution processing

value

Value of abnormal end judgment condition during execution processing

returnValue

Return value of job in case of abnormal end during execution processing

procCondition

comparisonSource

Comparison source variable name during execution processing

normalEndCondition

Comparison destination of processing condition during execution processing

abendSetting

execAbendProc

Whether abnormal end processing needs to be executing during abnormal end processing

returnValue

Return value of job in case of abnormal end

traceInfo

logFileOut

cliCommandLine

Whether trace information needs to be output to CLI command line when it is to be output to the log file during execution processing

cliStdOut

Whether trace information needs to be output to the CLI command standard output when it is output to the log file during execution processing

cliStdErr

Whether trace information needs to be output to the CLI command standard error output when it is to be output to the log file during execution processing

stdErrOut

cliCommandLine

Whether trace information needs to be output to the CLI command line when it is to be output to the standard error output during execution processing

cliStdOut

Whether trace information needs to be output to the CLI command standard output when it is to be output to the standard output during execution processing

cliStdErr

Whether trace information needs to be output to the CLI command standard error output when it is to be output to the standard error output during execution processing

endJudgement

cli

commandLine

Command line to be executing during end judgment processing

envValue

name

Environment variable name during end judgment processing

value

Value of environment variable during end judgment processing

resultVariable

Setting destination variable name of passing information during end judgment processing

abendInfo

condition

Relational operator of abnormal end judgment condition during end judgment processing

value

Value of abnormal end judgment condition during end judgment processing

execAbendProc

Whether abnormal end processing needs to be executed in case of abnormal end during end judgment processing

returnValue

Return value of job in case of abnormal end during end judgment processing

procCondition

comparisonSource

Comparison source variable name of processing condition during end judgment processing

normalEndCondition

Comparison destination of processing condition during end judgment processing

continuing

continuingCondition

Comparison destination of continuation condition during end judgment processing

repeatInterval

Repetition interval of continuation condition during end judgment processing

numOfRepeat

Number of repetitions of continuation condition during end judgment processing

execAbendProc

Whether execution of abnormal end processing needs to be executed during end judgment processing

returnValue

Return value of job when number of repetitions of continuation condition is exceeded during end judgment processing

abendSetting

execAbendProc

Whether abnormal end processing needs to be executed during end judgment processing

returnValue

Return value of job in case of abnormal end during end judgment processing

traceInfo

logFileOut

cliCommandLine

Whether trace information needs to be output to the CLI command line when it is to be output to the log file during end judgment processing

cliStdOut

Whether trace information needs to be output to the CLI command standard output when it is to be output to the log file during end judgment processing

cliStdErr

Whether trace information needs to be output to the CLI command standard error output when it is to be output to the log file during end judgment processing

stdErrOut

cliCommandLine

Whether trace information needs to be output to the CLI command line when it is to be output to the standard error output during end judgment processing

cliStdOut

Whether trace information needs to be output to the CLI command standard output when it is to be output to the standard error output during end judgment processing

cliStdErr

Whether trace information needs to be output to the CLI command standard error output when it is to be output standard error output during end judgment processing

normalEndProc

cli

commandLine

Command line to be executed during normal end processing

envValue

name

Environment variable name during normal end processing

value

Value of environment variable during normal end processing

resultVariable

Setting destination variable name of passing information during normal end processing

abendInfo

condition

Relational operator of abnormal end judgment condition during normal end processing

value

Value of abnormal end judgment condition during normal end processing

returnValue

Return value of job in case of abnormal end during normal end processing

traceInfo

logFileOut

cliCommandLine

Whether trace information needs to be output to the CLI command line when it is to be output to the log file during normal end processing

cliStdOut

Whether trace information needs to be output to the CLI command standard output when it is to be output to the log file during normal end processing

cliStdErr

Whether trace information needs to be output to the CLI command standard error output when it is to be output to the log file during normal end processing

stdErrOut

cliCommandLine

Whether trace information needs to be output to the CLI command line when it is to be output to the standard error output during normal end processing

cliStdOut

Whether trace information needs to be output to the CLI command standard output when it is to be output to the standard error output during normal end processing

cliStdErr

Whether trace information needs to be output to the CLI command standard error output when it is to be output to the standard error output during normal end processing

abendProc

cli

commandLine

Command line to be executing during abnormal end processing

envValue

name

Environment variable name during abnormal end processing

value

Value of environment variable during abnormal end processing

traceInfo

logFileOut

cliCommandLine

Whether trace information needs to be output to the CLI command line when it is to be output to the log file during abnormal end processing

cliStdOut

Whether trace information needs to be output to the CLI command standard output when it is to be output to the log file during abnormal end processing

cliStdErr

Whether trace information needs to be output to the CLI command standard error output when it is to be output to the log file during abnormal end processing

stdErrOut

cliCommandLine

Whether trace information needs to be output to the CLI command line when it is to be output to the standard error output during abnormal end processing

cliStdOut

Whether trace information needs to be output to the CLI command standard output when it is to be output to the standard error output during abnormal end processing

cliStdErr

Whether trace information needs to be output to the CLI command standard error output when it is to be output to the standard error output during abnormal end processing

outputResult

stdOut

Information to output the output of the execution result as the standard output of a job

stdErrOut

Information to output the output of the execution result as the standard error output of a job

parameters

name

Variable name of variable definition

type

Resolution type of variable. Either of the following values:

  • "gui": Resolved on Detailed definition screen of JP1/AJS3 - View

  • "exec": Resolved during execution of a job

gui

fieldName

Label name of the input field in the case of resolution on the Detailed definition screen of JP1/AJS3 - View

controlType

Fixed to "textBox"

textBoxSettings

lengthChar

Character string length of the text box in the case of resolution on the Detailed definition screen of JP1/AJS3 - View

invalidChar

Characters prohibited from being input to the text box in the case of resolution on the Detailed definition screen of JP1/AJS3 - View

exec

type

Fixed to "exec"

value

Value of variable in the case of resolution during job execution