Running a SDSF REXX and I want the job output presented to the rexx sorted on the columns DATEE/TIMEE which are delayed columns.
If I run this:
RC=ISFCALLS("ON")
ISFPREFIX = "ABCDT*"
ISFOWNER = "*"
ADDRESS SDSF "ISFEXEC ST (DELAYED)"
SAY 'FIRST DATEE VALUE IS ' DATEE.1
SAY 'FIRST TIMEE VALUE IS ' TIMEE.1
RETURN
it works. But if I run this using ISFSORT, I get an error as shown below:
RC=ISFCALLS("ON")
ISFPREFIX = "ABCDT*"
ISFOWNER = "*"
ISFSORT = "DATEE A TIMEE A"
ADDRESS SDSF "ISFEXEC ST (DELAYED)"
DO IX2 = 1 TO ISFMSG2.0
SAY "MSG " ISFMSG2"."IX2 "HAS THE VALUE: " VALUE(ISFMSG2"."IX2)
END
SAY 'FIRST DATEE VALUE IS ' DATEE.1
SAY 'FIRST TIMEE VALUE IS ' TIMEE.1
RETURN
MSG ISFMSG2.3 HAS THE VALUE: ISF741E Error processing command 'SORT DATEE A
TIMEE A' associated with variable ISFSORT, reason: SORT COLUMN NOT FOUND.
MSG ISFMSG2.4 HAS THE VALUE: ISF766I Request completed, status: SORT COLUMN
NOT FOUND.
I have been looking at this for a while so any help would be appreciated.