09 June 2010

Environment Variable ที่ควร set

1. $APT_CONFIG_FILE
DS/EE configuration file

2. $APT_DUMP_SCORE
Flag to identify report score

3. $OSH_ECHO
Includes a copy of the generated osh in the job’s DataStage log. Default to 1 (enabled)

4. $APT_RECORD_COUNTS
Outputs record counts to the DataStage job log as each operator completes processing. The count is per operator per partition. Default to 0 (disabled)

5. $OSH_PRINT_SCHEMA
Outputs actual runtime metadata (schema) to DataStage job log. Default to 0 (disabled)

6. $APT_PM_SHOW_PIDS
Places entries in DataStage job log showing UNIX process ID (PID) for each process started by a job. Does not report PIDs of DataStage “phantom” processes started by Server shared containers. Default to 1 (enabled)

7. $APT_BUFFER_MAXIMUM_TIMEOUT
Maximum buffer delay in seconds. Default to 1

8. $APT_PM_CONDUCTOR_HOSTNAME
Specifies the name of processing node which is required for Sequential File to be run on Processing Nodes without Conductor Node and the File is in Conductor Node.



ตัวอย่าง
$APT_CONFIG_FILE = /opt/IBM/InformationServer/Server/Configurations/default.apt
$APT_DUMP_SCORE = True
$APT_RECORD_COUNTS = False
$OSH_ECHO = True
$APT_PM_CONDUCTOR_HOSTNAME = ETL_Dev_1
$APT_BUFFER_MAXIMUM_TIMEOUT = 1
$APT_PM_SHOW_PIDS = True
$OSH_PRINT_SCHEMAS = False
$APT_IMPORT_PATTERN_USES_FILESET_MOUNTED = True
$APT_IMPORT_PATTERN_USES_FILESET = True

No comments: