Hitachi

JP1 Version 12 JP1/Automatic Job Management System 3 for Enterprise Applications Description, User's Guide and Reference


jr3ras

Organization of this page

Format 1

jr3ras -outdir analysis-data-stored-folder or directory
       [specify the trace file stored folder]
       [-bw_trace_file The trace file name of the InfoPackage or process-chain control function]
       [-rfctrace destination of the RFC trace file stored directory]
Note

For following cases, the strings should be surrounded by double quotation (") mark, to avoid mistaken analysis on shell or command prompt.

  • One or more spaces in the argument

  • Symbols describes below

    ( )

Format 2

jr3ras -help

Description

This is a tool to collect the information of JP1/AJS3 for EAP when failures occurred.

The collected information contains maintenance information, system information of OS, integrated trace log of JP1/AJS3 for EAP.

This command needs to be executed by Administrator privileged user in Windows, or super user privileged in Linux.

After executing this command, the designated information is stored under the specified folder or directory. Refer the table 4-4 and table 4-5 for detailed collected information.

Additionally, further information which is manually generated can be required depending on the failure. Refer to 8.2 Data to be collected if a problem occurs to retrieve the failure analysis information.

When you execute this command, change the current directory to the directory where jr3ras command exists.

The following table shows the folder structure in where the analysis data stored.

Table 4‒4: The folder structure of the collected information (Windows)

Folder/File name

Description

information-stored-folder\jr3ras.log

Log messages of the collection tool (jr3ras.bat)

information-stored-folder\date.log

Date and time of the collection

information-stored-folder\os\System.evt

information-stored-folder\os\Application.evt

Windows event log

information-stored-folder\os\os_system.txt

Windows system information

information-stored-folder\os\hosts

Hosts file

information-stored-folder\os\services

Services file

information-stored-folder\os\hostname.txt

Host name

information-stored-folder\os\netstat.txt

information-stored-folder\os\ipconfig.txt

information-stored-folder\os\firewall.txt

Communication information

information-stored-folder\os\getenv.log

Environment variable

information-stored-folder\os\proc_svc.list

Executing services/process information

information-stored-folder\product\Version.txt

JP1/AJS3 for EAP version information

information-stored-folder\product\jp1amr3.dat

JP1/AJS3 for EAP product information registry file

information-stored-folder\product\ProductInfo.txt

JP1/AJS3 for EAP product information

information-stored-folder\product\regist.txt

JP1/AJS3 for EAP registry file

information-stored-folder\product\filelist.txt

JP1/AJS3 for EAP file list

information-stored-folder\product\cacls.txt

JP1/AJS3 for EAP access control file list

information-stored-folder\product\system\version

JP1/AJS3 for EAP model name, version information

information-stored-folder\product\system\patchlog.txt

Patch information for JP1/AJS3 for EAP

information-stored-folder\product\system\jr3chrfc

RFC library status management file

information-stored-folder\product\rfctrace\dev_rfc.trc

information-stored-folder\product\rfctrace\dev_rfc.trc.log

RFC trace

information-stored-folder\product\HCDINST\*

Installation log for JP1/AJS3 for EAP

information-stored-folder\product\jp1common\jp1amr3\*

information-stored-folder\product\r3command\*

information-stored-folder\product\Log\*

Trace information (job control)

information-stored-folder\product\conf\conf

Job control environment configuration file

information-stored-folder\product\Bwsta\bwcommand\*

information-stored-folder\product\Bwsta\Log\*

Trace information (InfoPackage or process chain control)

information-stored-folder\product\Bwsta\conf\conf

Environment configuration file (InfoPackage or process chain control)

Table 4‒5: The directory structure of the collected information (Linux)

Directory/File name

Description

information-stored-directory/jr3ras.log

Log messages of the collection tool (jr3ras.bat)

information-stored-directory/date.log

Date and time of the collection

information-stored-directory/os/messages*

System log

information-stored-directory/os/uname.txt

OS version information

information-stored-directory/os/boot.txt

Kernel version information

information-stored-directory/os/dist.txt

OS system information (Distribution information)

information-stored-directory/os/clock.txt

information-stored-directory/os/timedatectl.txt

Timezonne information

information-stored-directory/os/hosts

Hosts file

information-stored-directory/os/services

Services file

information-stored-directory/os/hostname.txt

Host name

information-stored-directory/os/netstat.txt

Communication information

information-stored-directory/os/os_inst_pp.list

Installed product package list

information-stored-directory/os/kernel_param.list

Kernel parameter

information-stored-directory/os/ulimit.txt

User resource limitation

information-stored-directory/os/dmesg.txt

Kernel message

information-stored-directory/os/df.txt

Disk space usage

information-stored-directory/os/fstab

Disk mount information

information-stored-directory/os/ifconfig.txt

information-stored-directory/os/ip_addr_show.txt

information-stored-directory/os/firewall.txt

Network information

information-stored-directory/os/getenv.log

Environment variable

information-stored-directory/os/proc.list

Executing process information

information-stored-directory/os/user.txt

List of users

information-stored-directory/product/.version

JP1/AJS3 for EAP version information

information-stored-directory/product/.patch_hist

JP1/AJS3 for EAP patch information

information-stored-directory/product/jr3chrfc

RFC library status management file

information-stored-directory/product/116C.dat

JP1/AJS3 for EAP product registry information

information-stored-directory/product/ProductInfo.txt

JP1/AJS3 for EAP product list

information-stored-directory/product/pplistd

Installed Hitachi products

information-stored-directory/product/filelist.txt

JP1/AJS3 for EAP file list

information-stored-directory/product/rfctrace/dev_rfc.trc

information-stored-directory/product/rfctrace/dev_rfc.trc.log

RFC trace file

information-stored-directory/product/inst/.hitachi.log*

information-stored-directory/product/inst/.install.log*

information-stored-directory/product/inst/.uninstall.log*

information-stored-directory/product/inst/.hliclog/*

Install/Uninstall log

information-stored-directory/product/r3command/*

information-stored-directory/product/Log/*

Trace information (Job control)

information-stored-directory/product/conf/conf

Job control environment configuration file

information-stored-directory/product/Bwsta/bwcommand/*

information-stored-directory/product/Bwsta/Log/*

Trace information (InfoPackage or process chain control)

information-stored-directory/product/Bwsta/conf/conf

Environment Configuration file (InfoPackage or process chain control)

Arguments

-outdir information-stored-folder-or-directory

Specify the folder or directory to store collected information. This argument is mandatory.

The command creates new folder or directory with specified name.

Specify a name of folder or directory which does not exists already. Specify a string that can make a directory.

Do not specify JP1/AJS3 for EAP installed directory or under directories as directory name.

In Windows, do not specify Windows device name such as NUL.

In Linux, do not specify special file such as /dev/null.

Note that you must specify the -outdir option.

Specify the trace file location of job control function

Specify the job control function trace file location. Specify the trace file location when TargetDir or TargetFile is specified to trace (trace section) in the job control environment configuration file.

Following is the format to specify the trace file location of job control function
{-r3_trace_dir trace file stored directory of job control function | -r3_trace_file trace file name of job control function}
-r3_trace_dir Job control trace file stored directory

Specify the job control trace file stored directory.

Specify the trace file location when TargetDir is specified to trace (trace section) in the job control environment configuration file.

Cannot specify together with -r3_trace_file.

-r3_trace_file trace file name for job control function

Specify the job control function trace file name.

Specify the trace file location when TargetFile is specified to trace (trace section) in the job control environment configuration file.

Cannot specify together with -r3_trace_dir.

-bw_trace_file trace file name for InfoPackage or process chain control function

Specify the trace file stored location for InfoPackage or process chain control function.

Specify the trace file location when TargetFile is specified to trace (trace section) in the job control environment configuration file.

-rfctrace RFC trace file stored directory

This options is used to contains the RFC trace file in the collected information.

(the trace file that is generated when an error occurs while the command of JP1/AJS3 for EAP is in process. The trace contains communication information with the SAP system.)

RFC trace file will be generated in the working directory of JP1/AJS3 for EAP when an error occurred.

-help

This argument provides information on using the command.

Return values

0

Ended normally.

1

Specified variables are incorrect.

2

Information collection destination directory is already exists.

3

jr3ras command is not found in current directory.

4

Cannot access to the information collection directory.

5

Disk space is not enough.

6

Cannot access to the installation directory.

Notes

Usage examples