Quantcast
Channel: IBM Mainframe Computers Forums
Viewing all articles
Browse latest Browse all 9405

SYNCSORT :: RE: Sort card to replace text using cross reference file

$
0
0
Author: mistah kurtz
Posted: Wed Sep 21, 2016 3:35 pm (GMT 5.5)

Abid Hasan wrote:

A lengthy-inefficient approach, but will get the job done: pad a sequence number to the dataset whose records you donot want SORTED, using INREC coupled with a JOINKEYS CONTROL statement. Now, replace your OPTION COPY with a SORT FIELDS on the sequence number you added earlier; drop these sequence numbers in your BUILD statements.


Why this is a lengthy-inefficient approach, if datasets are not already sorted?


Viewing all articles
Browse latest Browse all 9405

Trending Articles