Job Management Partner 1/Automatic Job Management System 3 Configuration Guide 1

[Contents][Glossary][Index][Back][Next]


6.2.2 Defining search paths for a file to be transferred

When you have defined search paths for a file that is to be transferred, the location of the file can also be resolved from a relative path.

This subsection describes how to define a search path.

Organization of this subsection
(1) Definition procedure
(2) Environment setting parameters
(3) Definition example

(1) Definition procedure

To define a search path:

  1. In Windows Control Panel, open the Services administrative tool, and stop the following services:
    • JP1/AJS3 service
    • JP1/AJS3 Queueless File Transfer service#

    #:
    This service needs to be stopped only if queueless jobs are used.
  2. Execute the following command to set the environment setting parameters described in (2) below:
     
    jajs_config -k definition-key "parameter-name-1"=value-1 ["parameter-name-2"=value-2]
     
  3. Restart the services that you stopped in step 1.
    The new settings are applied.

(2) Environment setting parameters

Table 6-6 Environment setting parameters used to define the search path for a file that is to be transferred

Definition key Environment setting parameter Explanation
[{JP1_DEFAULT|logical-host}\JP1NBQCLIENT\PathEnv]# "All Users"= Specifies the search path for the file to be transferred.
"JP1-user-name"= Specifies the search path for the file to be transferred.

#:
The specification of the {JP1_DEFAULT|logical-host} part depends on whether the host is a physical host or a logical host. For a physical host, specify JP1_DEFAULT. For a logical host, specify the logical host name.

For details about the definition of these environment setting parameters, see the following:

(3) Definition example

Conditions:
Name of the JP1 user that will execute the job: user1
Search paths for user1 only: \home\user1\trans1 and \home\user1\trans2
Search paths common to all JP1 users: \tmp and \usr\tmp
Name of the file to be transferred: \home\user1\trans1\TransFile1

Definition example:
  • Definition of the file to be transferred in the job

    Name of the file to be transferred: TransFile1

  • Definition of the search paths on the host sending the submit request

    jajs_config -k [{JP1_DEFAULT|logical-host}\JP1AJSMANAGER\SCHEDULER\scheduler-service\QUEUE\CLIENT\PathEnv]
    "user1"="\home\user1\trans1::\home\user1\trans2"
    "All Users"="\tmp::\usr\tmp"

    The specification of the {JP1_DEFAULT|logical-host} part depends on whether the host is a physical host or a logical host. For a physical host, specify JP1_DEFAULT. For a logical host, specify the logical host name.

When these settings are specified, on the host that sends a submit request, \home\user1\trans1\TransFile1 is set as the file to be transferred.

[Contents][Back][Next]


[Trademarks]

Copyright (C) 2009, 2010, Hitachi, Ltd.
Copyright (C) 2009, 2010, Hitachi Solutions, Ltd.