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

DFSORT/ICETOOL :: RE: sort with previous record

$
0
0
Author: Bill Woodger
Subject: Reply to: sort with previous record
Posted: Thu Oct 06, 2016 11:48 pm (GMT 5.5)

When you have an IFTHEN which simply negates the condition of the single IFTHEN before it, use WHEN=NONE, like an ELSE in COBOL.

Similarly, if you have more than one condition, and without HIT=NEXT, you have a COBOL EVALUATE structure, and WHEN=NONE is the equivalent of OTHER.


Viewing all articles
Browse latest Browse all 8500

Trending Articles