Page 1 of 1

Usage Of WHEN and OVERLAY clause in the SORT Utility

PostPosted: Fri May 08, 2009 10:45 pm
by navennaik
Hello Everyone,

Please any one let me know , how the following SORT utility is going to work.

SORT FIELDS=COPY
OUTREC IFTHEN=(WHEN=(11,4,CH,EQ,C'0010'),
OVERLAY=(216:216,320,TRAN=LTOU),HIT=NEXT)

ThanQ
Naveen.

Re: Usage Of WHEN and OVERLAY clause in the SORT Utility

PostPosted: Sat May 09, 2009 12:57 am
by dick scherrer
Hello,

Which sort product is used on your system (probably DFSORT or Syncsort)?

There are separate parts of the forum for those sort products and i'll move the topic when i know where it should be placed.

Have you tried the sort control you posted? What happens?

If there is an abend, syntax error, or undesired output, post the jcl, the messages including message ids, some sample input data and the desired output from that sample.