> and now it works.

Radoslaw,

Hmm are you sure you are getting the right results? Unless you typed in the
JCL, that wouldn't give you the right results.

Reason : Your first COPY operation is writing the output to a ddname called
"TEMP', However your DISPLAY is reading from the ddname TEMP0001 so unless
this is a version that you decided to show here, it wouldn't work.

Also you do not require SORT operator as you overwriting that with COPY
operator in REPOCNTL

So here is the modified JCL that should give you the desired results.


//STEP0100 EXEC PGM=ICETOOL
//TOOLMSG  DD SYSOUT=*
//DFSMSG   DD SYSOUT=*
//WEJDATA  DD DISP=SHR,DSN=Your Input RACF unload
//TEMP     DD DSN=&&TMP,DISP=(,PASS),SPACE=(CYL,(X,Y),RLSE)
//PRINT    DD SYSOUT=*
//TOOLIN   DD *
  COPY FROM(WEJDATA) TO(TEMP) USING(REPO)
  DISPLAY FROM(TEMP) LIST(PRINT)         -
          PAGE                           -
          TITLE('SOME TITLE')            -
          DATE(DM4-)                     -
          TIME(24:)                      -
          BLANK                          -
          NOCC                           -
          ON(19,08,CH) HEADER('USER')    -
          ON(10,10,CH) HEADER('OPIS')    -
          ON(45,07,CH) HEADER('STATUS')
/*
//REPOCNTL DD *
  OPTION VLSCMP
  INCLUDE COND=(5,5,CH,EQ,C'ABCDE')
  INREC OVERLAY=(52:X)
/*


Further if you have any questions please let me know

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