JAMS uses a temporary directory for storing temporary command procedures for parsed and jacketed jobs. If a VMS directory file gets too large performance can degrade. If expecting to have more than 800-1,000 parsed or jacketed jobs scheduled simultaneously, it is recommended that more than one temporary directory be used.
To use more than one temporary directory, directories must be created in the current JAMS temporary directory. The directories must be named TEMPn, where n is the number of the directory. The numbers must begin at 1 and there may not be any gaps. After creating the directories, define the logical name JAMS_TEMP_DIRECTORY_COUNT to be the number of temporary directories that were created. This logical name must be defined with /SYSTEM and /EXECUTIVE. The following example assumes that the JAMS temporary directory is JAMSDSK:[JAMS.TEMP].
$ CREATE/DIR JAMSDSK:[JAMS.TEMP.TEMP1] $ CREATE/DIR JAMSDSK:[JAMS.TEMP.TEMP2] $ CREATE/DIR JAMSDSK:[JAMS.TEMP.TEMP3] $ DEFINE/SYSTEM/EXEC JAMS_TEMP_DIRECTORY_COUNT 3