Howard Brazee wrote:

>I am reading in a text document and want to create a sorted table.
>
>The document has a key in two places, based on SSN (with a suffix)
>looking like 123-45-6789-01  (columns 59-72 & 92-105).    The other
>number for the table is in 123-45-6789 format in columns 34-44 & in
>columns 104-124.
>
>
>I will look for a dash in one of these positions, if the dash is not
>found, ignore this line altogether.
>
>
>What I want to create is a table that I can read in sorted by the key
>above,   the table will have two numbers without dashes 12345678901 &
>123456789.
>
>
>There will be duplicates I'd like to get rid of, but I'd like to know
>if there are any duplicate keys that did not have duplicate non-keys
>(at least for testing).

Howard,

Please show an example of the input records and the expected output
records.

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