>>> I am using for the INPUT a subset of a type 0404 records from a  IRRDBU00 
>>> output file. In the first step I am crating two files with

Jack,

Not clear if you still need help , but the INCLUDE COND does not have the 
include for type 0404 records, unless you already filtered your input.

Can you please run the following.

//STEP0100 EXEC PGM=SORT
//SYSOUT   DD SYSOUT=*
//SYMNAMES DD  *
TYP,05,04,CH
DSN,10,44,CH
GRP,62,08,CH
ACC,71,08,CH
//SORTIN   DD DISP=SHR,DSN=Your.RACF.IRRDBU00.file
//SORTOUT  DD SYSOUT=*
//SYSIN    DD *
  OPTION VLSCMP
  INCLUDE COND=(TYP,EQ,C'0404',AND,
                ACC,EQ,C'ALTER',AND,
               (GRP,EQ,C'GPRFCICS',OR,
                GRP,EQ,C'GPRFSTG'))

  SORT FIELDS=(DSN,A,ACC,A)

  OUTFIL REMOVECC,VTOF,BUILD=(80X),
  SECTIONS=(DSN,ACC,
  TRAILER3=(DSN,C'|',
            ACC,C'|',
            GRP,C'|',
            COUNT,C'|'))
/*

Now check the results and look at the count column to see any value is greater 
than 1. If it has a value greater than 1 , then your SUM FIELDS=NONE will 
eliminate such records.


Thanks,
Kolusu
DFSORT Development
IBM Corporation



----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to