Issue
Warning message is displayed on information window on PIOM versions > 2.4.1 (No directory specified for disk command assuming working directory: E:\MGR2.4\BIN\x64 )
Cause
It occurs when writing disk files at the end of the job, if script implements the test ENDOFJOB;
Resolution
To avoid this warning message, a flag for the end of job (Object) should be included on the script, then use this flag as a new test [TEST_ENDOFJOB] instead of the ENDOFJOB test.
//This Object should be included at the beginning of the pass
[OBJECT_MAIN_PASS] OBJECT REGION SCAN0
BEGINWINDOWX 0 BEGINWINDOWY 0
TEST
ENDOFJOB
ACTION
[EXTRACT_ENDOFJOB]
ENDWINDOWX 0 ENDWINDOWY 0
;
[EXTRACT_ENDOFJOB] EXTRACT [VARIABLE_ENDOFJOB] EQ 1;
[TEST_ENDOFJOB] TEST [VARIABLE_ENDOFJOB] EQ 1;
[VARIABLE_ENDOFJOB] VARIABLE [STORETYPE_INTEGER] EQ 0;
//Object that would write some disk files
[OBJECT_DISK_FILES] OBJECT REGION SCAN0
BEGINWINDOWX 0 BEGINWINDOWY 0
TEST
[TEST_ENDOFJOB] // ENDOFJOB test should be replaced
ACTION
[OBJECT_WRITE_FILES]
ENDWINDOWX 0 ENDWINDOWY 0
;
UPDATED: February 24, 2017