Hitachi

JP1 Version 11 JP1/Advanced Shell Description, User's Guide, Reference, and Operator's Guide 


1.5 Overview of functionality

The following table describes the functionality supported by JP1/Advanced Shell.

Table 1‒3: Functionality of JP1/Advanced Shell

Functionality

Related item

Section

Defining a job execution environment

Specifying the environment variables required for job execution

2.5 Specifying environment variables

Specifying environment files.

2.6 Specifying environment information for JP1/Advanced Shell, 7. Parameters Specified in the Environment Files

Creating job definition scripts according to the syntax for shell scripts

Basic components of job definition scripts

5.1 Basic elements of job definition scripts

Conditional

5.2 Conditionals, 5.4 Priority of conditional and arithmetic operations, 9.6 Script control statements

Arithmetic operations

5.3 Arithmetic operations, 5.4 Priority of conditional and arithmetic operations

Shell variables

5.1.2 Variables, 5.5 Shell variables

Shell options

5.6 Shell options

Using files from job definition scripts

Regular files

5.9.1 Allocating regular files and performing postprocessing, 9.5 Extended script commands

Temporary files

5.9.2 Allocating temporary files and performing postprocessing, 9.5 Extended script commands

Program output data files

5.9.3 Allocating program output data files and performing postprocessing, 9.5 Extended script commands

Controlling job execution

Declaring job names

5.8.1 Declaring job names, 9.5 Extended script commands

Defining job end conditions

5.8.2 Defining the job end condition, 9.5 Extended script commands

Starting or ending job steps

5.8.3 Defining job steps, 9.5 Extended script commands

Specifying a definition so that any command is always treated as having terminated normally

(2) Defining commands that always terminate normally, 9.5 Extended script commands

Defining return codes for extended script commands

2.6.9 Defining the return codes of extended script commands, 7.3 Environment setting parameters

Calling external scripts

5.8.6 Calling an external job definition script file from an executing job definition script, 9.5 Extended script commands

Starting child jobs

2.6.5 Defining files to be started as child jobs, (1) Root jobs and child jobs, 3.2.3 Running job definition scripts as child jobs, 5.1.11 Specifying external commands, 7.3 Environment setting parameters

Forcibly terminating jobs

2.6.21 Performing user-specific postprocessing when a job is terminated forcibly, 3.11 Forcibly terminating jobs, 7.3 Environment setting parameters

Acquiring job information within shell scripts

Using shell variables for which a job step return code has been specified

5.5.1 Shell variables set by JP1/Advanced Shell

Using environment variables for which job information has been specified

2.5 Specifying environment variables, 5.7 Environment variables for job information

Using the editor to create job definition scripts#1

4. Using JP1/Advanced Shell - Developer (Windows Only), 5. Creating Job Definition Scripts

Executing commands

Shell operation commands

8.3 Shell operation commands

UNIX-compatible commands

2.6.6 Specifying definitions for using UNIX-compatible commands, 8.4 UNIX-compatible commands, 8.5 UNIX-compatible commands (script format) (Windows only)

Standard shell commands

9.3 Standard shell commands

Extended shell commands

9.4 Extended shell commands

Extended script commands

9.5 Extended script commands

Script control statements

9.6 Script control statements

Reserved script commands

9.7 Reserved script commands

Registering custom jobs#2

2.7.1 Registering custom jobs in JP1/AJS - View

Using the user-reply functionality

Issuing any character string as a JP1 event

9.4 Extended shell commands

Issuing any character string as a reply-waiting event

9.4 Extended shell commands

Starting the user-reply functionality's management daemon or service

8.3 Shell operation commands

Collecting the operation information of job definition scripts#2

Accumulating the operation information of job definition scripts

7.3 Environment setting parameters

Outputting the operation information of job definition scripts

8.3 Shell operation commands

Using the same job definition scripts on different platforms

Converting job definition scripts so that they can be used in both Windows and UNIX

2.6.2 Converting path names, 2.6.3 Converting file paths when files are input and output, 2.6.4 Converting arguments during command execution, 2.6.12 Migrating job definition scripts from UNIX to Windows, 7.3 Environment setting parameters

Using the UNIX-compatible commands

2.6.6 Specifying definitions for using UNIX-compatible commands, 8.4 UNIX-compatible commands, 8.5 UNIX-compatible commands (script format) (Windows only)

Deleting spool jobs

3.9 Deleting spool jobs, 8.3 Shell operation commands

Collecting coverage information

Acquiring coverage information

3.10 Acquiring coverage information, 8.3 Shell operation commands, A. Coverage Information That Is Acquired

Displaying coverage information

3.10 Acquiring coverage information, 8.3 Shell operation commands

Merging coverage information

3.10 Acquiring coverage information, 8.3 Shell operation commands

Always enabling acquisition of coverage information

3.10 Acquiring coverage information, 8.3 Shell operation commands

Debugging job definition scripts

Using CUI for debugging#3

6.1.2 Debugging with the CUI (UNIX only), 6.1.4 List of debugger commands (UNIX only), 6.1.5 Whether execution can be stopped at the elements of a job definition script, 6.2 CUI debugger (UNIX only)

Using GUI for debugging#1

4.2.2 Debug mode, 4.4.6 Debugging, 6.1.1 Debugging with the GUI (Windows only), 6.1.3 List of functions of the GUI debugger (Windows only), 6.1.5 Whether execution can be stopped at the elements of a job definition script

Outputting job execution logs

1.1.3 Improving serviceability and maintainability by central management of batch job execution results, 3.5 Job execution log

Using the application-execution agent functionality# 1 #2

2.11 Setting the application-execution agent functionality [only for the Windows execution environment]

8.3 Shell operation commands

9.4 Extended shell commands

Troubleshooting

Collecting data, such as job execution logs, system execution logs, and trace logs

11. Troubleshooting

Replying to reply-request messages when JP1/IM is not available

8.3 Shell operation commands, 11. Troubleshooting

#1

Available only in the development environment

#2

Available only in the execution environment

#3

Available only in the UNIX edition