Hitachi

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


2.2.3 Files used in JP1/Advanced Shell

Organization of this subsection

(1) List of files used in JP1/Advanced Shell

The table below lists and describes the files that are used in JP1/Advanced Shell. To determine whether a file size can exceed 2 GB, see (2) Handling of files that are larger than 2 GB (large files).

Table 2‒12: Files used in JP1/Advanced Shell

File name (icon)

Extension

File location

File contents

Job definition script file ([Figure])

.ash

Any location

A job definition script. The user can assign any file name.

Environment file#1

.ase

Any location

JP1/Advanced Shell environment settings.

System environment file

.ase

See (1) Specifying the system environment files.

A file that sets environment information for JP1/Advanced Shell.

Coverage information file

.asc

Any location

Coverage environment information for JP1/Advanced Shell.

Debugging information file

.asd

Same directory as for the job definition script files#2

Debugging information used by the editor (development environment)

System execution log#1

.log

Directory specified in the LOG_DIR parameter in the environment file

Log information that provides overall batch job execution logs for the system administrator.

Trace information#1

.log

  • For the adshexec command, the directory specified in the TRACE_DIR parameter in the environment file

  • In all other cases, the directory specified by the program

JP1/Advanced Shell's internal trace logs.

Temporary file

.tmp

  • For a temporary file specified in the #-adsh_file_temp command, the directory specified in the TEMP_FILE_DIR parameter in the environment file

  • In all other cases, the directory specified by the program

A temporary file used by JP1/Advanced Shell.

Coverage display temporary file

.txt

Temporary file directory specified by the system

Temporary file used in displaying coverage information. The format of file name is as follows:

adshexec_view_job-definition-script-file-name_year-month-date_hour-minute-second.txt

Start log (UNIX only)

.log

/opt/jp1as/system

Log information that is collected when the user-reply functionality's management daemon is started and stopped.

pid file (UNIX only)

.pid

/opt/jp1as/system

File used by the user-reply functionality management daemon and adshmdctl.

Log of the application-execution agent functionality#1 (Windows execution environment only)

.log

shared-document-folder\Hitachi\JP1AS\JP1ASE\appexec

Internal log of the application-execution agent functionality.

#1

You can collect these files by using the adshcollect command. For details about how to collect the files, see 11.3.1 adshcollect command (collects information).

#2

Because a debugging information file cannot be saved, an error is displayed in the following cases:

[Figure] The job definition script file being edited is in a directory for which the user does not have write permissions.

[Figure] The job definition script file being edited is in a compressed folder.

Notes about specifying files and paths
  • As the directory delimiter, you can use a backslash (\)# for Windows or a forward slash (/) for UNIX. If you use other characters, the operation cannot be guaranteed.

    If you use a backslash (\) as the directory delimiter for UNIX, the character will not be recognized as the directory delimiter and JP1/Advanced Shell will not operate correctly.

    If you use a forward slash (/) as the directory delimiter for Windows, the character might be recognized as the directory delimiter. Note that, depending on how the forward slash is used, the character might not be recognized as the directory delimiter and JP1/Advanced Shell might not operate correctly.

    #:

    A backslash (\) specified in a job definition script is considered an escape character. For this reason, you need to specify two consecutive backslashes (\\) or enclose the character string that includes the backslash in single quotation marks (').

  • Do not use a file name that begins with a dot (.).

  • The permitted maximum length for path names must comply with the specifications of the OS being used.

  • The maximum file name length is 246 bytes (Windows only).

  • Do not use reserved device names (such as CON, AUX, and NUL) for file names (Windows only).

  • Do not use NTFS streams for file names (Windows only).

  • Do not use the junction functionality (Windows only).

  • You can use UNC names for file names and path names (example: \\computer-name\shared-name\file-name); however, make sure that a path name specified in this format does not end with shared-name (or shared-name\). The cd standard shell command does not support the UNC format. (Windows only)

    UNC formats that can be used:

    \\server\share\dir

    \\10.111.222.33\share\dir

    UNC formats that cannot be used:

    \\server\share

    \\10.111.222.33\share

  • Do not use UNC names for the folder path names for traces, system execution logs, spool, and temporary files (Windows only).

(2) Handling of files that are larger than 2 GB (large files)

JP1/Advanced Shell supports some of the large files (that are larger than 2 GB). Of the files supported by JP1/Advanced Shell, the files and commands that correspond to large files are as follows:

Whether large files are supported depends on the types of file systems and OS settings (example: ulimit setting). Before you design your operations, check if your environment supports large files.

(3) Notes on file systems

Be careful when using JP1/Advanced Shell with either of the following file systems: