Howard Brazee wrote:

>That will get rid of the dashes, but it won't sort the two columns of
>key data and two columns of non-key data into a table.

Howard,

The INCLUDE keeps only the records with the dashes.  You can use a SORT
statement to sort on the fields in their original places.

Alternatively, you can use INREC instead of OUTREC to create the table
records and then use a SORT statement to sort on the fields in their new
places.

Be sure to remove the OPTION COPY statement or it will override the SORT
statement.

Frank Yaeger - DFSORT Team (IBM)
 Specialties: PARSE, JFY, SQZ, ICETOOL, IFTHEN, OVERLAY, Symbols, Migration

 => DFSORT/MVS is on the Web at http://www.ibm.com/storage/dfsort/

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to