Multiple filter using PGM=SDSF in JCL



TSO Programming, ISPF, SDF, SDSF and PDF, FTP, TCP/IP Concepts, SNA & SNA/IP etc...

Multiple filter using PGM=SDSF in JCL

Postby csbl81 » Thu Mar 23, 2017 11:45 pm

Goof afternoon,
I'm assembling a job to generate an alert whenever I get processes in spool executing with CLASS different of 9 and 0 but I can't seem to get the syntax in JCL correct. I made several attempts:


//SDSF01 EXEC PGM=SDSF,COND=(0,NE)
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//ISFOUT DD DSN=XXX.YYYY.ZZZZ,
// DISP=(NEW,CATLG),UNIT=SYSDA,
// SPACE=(CYL,(5,5)),
// DCB=(RECFM=FB,LRECL=133,BLKSIZE=0)
//ISFIN DD *
S
ST
OWNER *
PRE *
FILTER C NE '9' AND
FILTER C NE '0'
PRT
PRT CLOSE
END



//ISFIN DD *
S
ST
OWNER *
PRE *
FILTER C NE '9'
FILTER C NE '0'
PRT
PRT CLOSE
END



And none of these work....
Can anyone help me?
csbl81
 
Posts: 1
Joined: Thu Mar 23, 2017 10:23 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Multiple filter using PGM=SDSF in JCL

Postby Robert Sample » Fri Mar 24, 2017 12:26 am

Well, what kind of error did you get in the output with what you posted?
Robert Sample
Global moderator
 
Posts: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: Multiple filter using PGM=SDSF in JCL

Postby willy jensen » Fri Mar 24, 2017 2:13 pm

I strongly recommend looking at the SDSF REXX API.
willy jensen
 
Posts: 465
Joined: Thu Mar 10, 2016 5:03 pm
Has thanked: 0 time
Been thanked: 70 times


Return to TSO & ISPF

 


  • Related topics
    Replies
    Views
    Last post