Teradata TPump is case sensitive when doing a compare on an &SYS system variable. The RUN FILE command does not execute because the substituted values returned in this example are all in uppercase. This factor must be considered when creating a script to force the execution of a predetermined sequence of events. If, in line 0003, 'FRI' was used, the compare would work and the RUN FILE command would execute.
0003 .IF '&SYSDAY' = 'Fri' THEN; 14:10:28 - FRI MAY 09, 1997 UTY2402 Previous statement modified to: 0004 .IF 'FRI' = 'Fri' THEN; 0005 .RUN FILE UTNTS38; 0006 .ENDIF;