Sorting Delayed Columns using SDSF REXX



Ask queries about other IBM Tools like Tivoli, COBTEST, Fault Analyzer, z/OS File Manager, Workload Simulator, APA, SCLM, Merge & Migration Tools etc...

Sorting Delayed Columns using SDSF REXX

Postby vince99 » Thu Apr 23, 2015 2:24 pm

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.
vince99
 
Posts: 1
Joined: Thu Apr 23, 2015 2:06 pm
Has thanked: 0 time
Been thanked: 0 time

Return to Other IBM Tools

 


  • Related topics
    Replies
    Views
    Last post