Setting Log/Output Directory and Report Repository
When Process Scheduler submits a request, the system creates a new subdirectory to store the log, trace, and reports that were generated by the request. This subdirectory is created in the directory that is specified in the Log/Output Directory parameter in the Process Scheduler configuration file psprcs.cfg. When a high volume of requests is being processed by the Process Scheduler server, limitations imposed by the operating system can prevent additional directories from being generated for the new requests. For instance, certain UNIX operating systems only allocate 32K inodes for a directory.
To prevent the Log/Output directory from reaching the limit that is imposed by the operating system, you can set up additional subdirectories using meta variables. You can modify the Log/Output directory parameter to include any of the meta variables that are listed below in order to build additional subdirectories.
The meta variables are:
To prevent the Log/Output directory from reaching the limit that is imposed by the operating system, you can set up additional subdirectories using meta variables. You can modify the Log/Output directory parameter to include any of the meta variables that are listed below in order to build additional subdirectories.
The meta variables are:
Log/Output Directory
By default, the Log/Output directory is %PS_SERVDIR%\log_output. You can modify the structure of the subdirectory to include the date and hour as subdirectories by changing the default parameter to:
%PS_SERVDIR%\log_output\%CURRDATE%\%CURRHOUR%
Report Repository
You can use the same mechanism to alter the subdirectory structure for the Report Repository. To change the directory structure in the Report Repository, you need to modify the definition of the Report Node stored in the PS_CDM_DIST_NODE.
In the PS_CDM_DIST_NODE table, the field CDM_DIR_TEMPLATE sets the directory structure like this:
%DBNAME%/%CURRDATE%/%REPORTID
You can alter the value of the field to include any of the meta-variables listed previously.
By default, the Log/Output directory is %PS_SERVDIR%\log_output. You can modify the structure of the subdirectory to include the date and hour as subdirectories by changing the default parameter to:
%PS_SERVDIR%\log_output\%CURRDATE%\%CURRHOUR%
Report Repository
You can use the same mechanism to alter the subdirectory structure for the Report Repository. To change the directory structure in the Report Repository, you need to modify the definition of the Report Node stored in the PS_CDM_DIST_NODE.
In the PS_CDM_DIST_NODE table, the field CDM_DIR_TEMPLATE sets the directory structure like this:
%DBNAME%/%CURRDATE%/%REPORTID
You can alter the value of the field to include any of the meta-variables listed previously.

No comments:
Post a Comment