Contents
Part 1: Overview
Part 2: Setup
2. Preparations for Using JP1/Advanced Shell
2.6 Specifying environment information for JP1/Advanced Shell
2.6.6 Specifying definitions for using UNIX-compatible commands
2.6.7 Defining the handling of unsupported conditional expressions (Windows only)
2.6.8 Defining job execution results and log output information
2.6.12 Migrating job definition scripts from UNIX to Windows
2.6.13 Loading the files specified in the ENV shell variable
2.6.14 Defining the process that will be executing the last command in a pipe
2.6.15 Defining the return code in the event of an unresumable error in a job
2.6.19 Creating the directories required for JP1/Advanced Shell
2.6.21 Performing user-specific postprocessing when a job is terminated forcibly
2.7 Specifying environment information for JP1/AJS (applicable when JP1/AJS is used)
Part 3: Operation
3.7 Outputting job definition script operation information
3.7.1 Collecting job definition script operation information
3.7.2 Outputting job definition script operation information
3.7.3 Relationship between dates and times and time zones in the operation information
3.7.4 Using multiple OR conditions for output of job definition script operation information
3.7.5 Outputting job definition script operation information from different spools
3.7.7 Operation information records in CSV format and output items
3.7.9 Job definition script operation information that is output
5. Creating Job Definition Scripts
6. Debugging Job Definition Scripts
6.2.7 Commands for restarting execution of the job definition script
6.2.8 Performing sequential execution (step and next commands)
6.2.13 Displaying breakpoint and watchpoint information (info breakpoints command)
6.2.14 Displaying coverage information (info coverage command)
6.2.15 Displaying function information (info functions command)
6.2.16 Displaying job step information (info jobsteps command)
6.2.17 Displays the information of the variable name handling the path (info pathvars command)
6.2.20 Displaying shell variable information (info variables command)
6.2.21 Enabling and disabling the fault injection mode (joberrmode command)
Part 4: Reference
7. Parameters Specified in the Environment Files
7.3 Environment setting parameters
7.3.3 ASC_FILE parameter (defines a naming rule for accumulation files)
7.3.4 BATCH_CVR parameter (enables the coverage auto-acquisition functionality)
7.3.9 CMDRC_THRESHOLD_DEFINE parameter (defines a return code threshold for a command)
7.3.14 COMPATIBLE_CMDSUB parameter (defines the behavior of command substitution) [only for UNIX]
7.3.23 KSH_ENV_READ parameter (defines whether the ENV shell variable is to be read)
7.3.29 OUTPUT_STDOUT parameter (defines the destination for the root job standard output)
7.3.30 PATH_CONV parameter (defines the details of path conversion)
7.3.31 PATH_CONV_ACCESS parameter (defines path conversion details when files are input and output)
7.3.32 PATH_CONV_ENABLE parameter (enables the path conversion functionality)
7.3.33 PATH_CONV_NOVAR parameter (defines the shell variable that does not handle the path name)
7.3.34 PATH_CONV_RULE parameter (defines a rule for converting file paths) (Windows only)
7.3.35 PATH_CONV_VAR parameter (defines the shell variable that handles the path name)
7.3.38 PIPE_CMD_LAST parameter (defines execution processing for the last command in a pipe)
7.3.39 SPOOL_DIR parameter (defines the spool root directory path name)
7.3.40 SPOOLJOB_CHILDJOB parameter (defines how a spool job of a child job is to be handled)
7.3.41 SPOOLJOB_CREATE parameter (selects whether a spool job is to be created)
7.3.42 TEMP_FILE_DIR parameter (defines the path name of the directory for storing temporary files)
7.3.43 TRACE_DIR parameter (defines the path name of the directory to which traces are to be output)
7.3.44 TRACE_FILE_CNT parameter (defines the number of files to which traces are to be output)
7.3.45 TRACE_FILE_SIZE parameter (defines the size of a file to which traces are output)
7.3.54 VAR_SHELL_FUNCINFO parameter (selects whether function information arrays are used)
8. Commands Used During Operations
8.3.3 adshchmsg command (replies manually to a reply-request message when a failure occurs)
8.3.6 adshevtout command (outputs job definition script operation information)
8.3.8 adshfile command (specifies the allocation and postprocessing of regular files)
8.3.10 adshjava command (executes Java batch applications) [only for Windows, Linux, AIX, and HP-UX]
8.3.11 adshlsmsg command (displays a list of reply-request messages when a failure occurs)
8.4.1 awk command (performs text processing and pattern matching)
8.4.6 cut command (outputs selected parts of lines to the standard output)
8.4.9 dirname command (retrieves character strings for directory path names from path names)
8.4.17 gzip command (compresses files or decompresses compressed files)
8.4.20 ln command (creates a link file for a file or directory)
8.4.21 ls command (lists the contents of files or directories)
8.4.32 stat command (outputs the statuses of files and directories to the standard output)
8.4.35 touch command (changes a file's last access date and time or modification date and time)
8.4.37 uname command (displays information about the OS or hardware)
8.4.38 uniq command (removes duplicated lines from a sorted file)
8.4.39 wc command (counts the number of bytes, lines, characters, and words in files)
8.4.40 which command (obtains the paths of external commands)
8.5 UNIX-compatible commands (script format) (Windows only)
8.5.1 chmod command (disables the chmod commands specified in job definition scripts)
8.5.2 chmod command (changes the file read-only attribute setting (enable or disable))
8.5.3 chmod command (specifies permissions as numeric values)
8.5.4 chmod command (specifies permissions as symbols or numeric values)
8.5.5 su command (disables the su commands specified in job definition scripts)
8.5.6 su command (executes programs with the permissions of the executing user)
8.5.7 who command (disables the who commands specified in job definition scripts)
9. Job Definition Script Commands and Control Statements
9.3.8 continue command (interrupts loop processing and returns to the beginning of the loop)
9.3.9 echo command (outputs what is specified in arguments to the standard output)
9.3.10 eval command (concatenates arguments into a command and executes it)
9.3.17 let command (evaluates the values of arithmetic expressions)
9.3.19 pwd command (outputs the path of the current directory)
9.3.20 read command (reads from the standard input and stores the input in variables)
9.3.22 return command (returns from a function or an external script)
9.3.23 set command (sets shell options, creates an array, or displays variable values)
9.3.25 test command (determines the value of a conditional expression)
9.3.26 times command (displays the amount of CPU time used by the shell)
9.3.27 trap command (specifies the action when signals and forced termination requests are received)
9.3.29 typeset command (declares explicitly the attributes and values of variables and functions)
9.3.30 ulimit command (sets limits on system resources) (UNIX only)
9.3.31 umask command (sets the access permissions for creating a new file) (UNIX only)
9.3.33 unset command (unsets variable values and attributes)
9.3.35 whence command (displays how character strings would be interpreted if used as commands)
9.4.3 adshcmdrc command (defining the return code threshold of a command)
9.4.4 adshecho command (issues a specified event notification message as a JP1 event)
9.4.5 adshjoberr command (reports an error to a job and job step)
9.4.6 adshmktemp command (creates a file for which the file name is not duplicated)
9.4.9 adshread command (issues a specified reply-request message as a reply-waiting event)
9.4.10 adshscripttool command (supports creation of job definition scripts) (Windows only)
9.4.11 adshvarconv command (converts the value of a variable)
9.5.1 #-adsh_file command (specifies assignment and postprocessing of regular files)
9.5.2 #-adsh_file_temp command (assigns and postprocesses a temporary file)
9.5.4 #-adsh_job_stop command (defines termination conditions for a job)
9.5.5 #-adsh_path_var command (defines shell variables for handling path names)
9.5.6 #-adsh_rc_ignore command (defines commands to always terminate normally)
9.5.8 #-adsh_spoolfile command (assigns a program output data file)
10.3.1 getArrayIndex (gets an index based on the value of array)
10.3.5 deleteSpace (gets the character string without space)
10.3.6 getStrLen (gets the number of characters of character string)
10.3.8 isLowerStr (evaluates half-width lowercase character of the character string)
10.3.9 isUpperStr (verifies half-width uppercase character of the character string)
10.3.24 getFileMTime (gets date and time of file and directory)
10.3.27 isEmptyDir (evaluates existence of contents of directory)
10.3.29 isNormalFile (evaluates existence of a regular file)
10.3.30 arrayToCsv (outputs a value of two-dimensional array to CSV data)
10.3.32 csvToArray (stores the two-dimensional array of CSV data)
10.3.33 getCsvColumn (gets a column in consideration of blank line of CSV data)
10.3.34 searchCsvColumn (gets a record with the search for specific column of CSV data)
10.3.35 getJsonValue (gets a value corresponding to the name of JSON data)
10.3.36 getXmlAttrValue (obtains an attribute value of elements of XML data)
10.3.38 getXmlElem (obtains contents of elements of XML data)
Part 5: Troubleshooting
B. If you start from the job scheduler other than JP1/AJS (only for UNIX)