Hi,

As Martin and Massimo has shown you need to use substring search (SS). Here
is a simple example for picking records which have keyword "ABC"  in
positions 1 thru 50.

//STEP0100 EXEC PGM=SORT
//SYSOUT   DD SYSOUT=*
//SORTIN   DD *
ABC RECORD-1 PICK THIS RECORD
RECORD-2 DROP THIS RECORD
PICK THIS RECORD ABC AT DIFFERENT POSITION
SHOW ABC RECORD IS BEING PICKED
//SORTOUT  DD SYSOUT=*
//SYSIN    DD *
  OPTION COPY
  INCLUDE COND=(01,50,SS,EQ,C'ABC')
/*

Thanks,
Kolusu


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to