AnsweredAssumed Answered

IF_THEN_ELSE / EARLYSUB / SYNTAX ?

Question asked by Ludio on Jun 13, 2014
Latest reply on Jun 13, 2014 by John_Crespin

 

Good morning All,

 

I need your help please, with the use of “IF/THEN/ELSE” - keep getting “INVALID STATEMENT SYNTAX”  ?

 

The format in my APPL :

JOB ABC

   RUN MON TUE WED THU FRI SUN

   IF TODAY(‘SUN’) THEN EARLYSUB 14:00

   ELSE EARLYSUB 16:00

   RELEASE (XYZ)

ENDJOB

 

I’ve tried different variations , but no go.

Much appreciate

Ludi

Outcomes