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

DFSORT/ICETOOL :: RE: abend sort based on count records in group

$
0
0
Author: Bill Woodger
Subject: Reply to: abend sort based on count records in group
Posted: Tue Oct 18, 2016 12:20 am (GMT 5.5)

Well, you can very easily get an RC=4 if there are no groups with more than seven records (or any arbitrary known value). Have a subsequent step which abends when you get RC=0 in the step. Or deal with the RC=4 as good RC=0 as bad in your JCL, or your Scheduler.

Here's an OVERLAY. Put this under an IFTHEN=(WHEN=(logicalexpression) for your required condition,

Code:
OVERLAY=(5:Z,5:1,1,PD,ADD,+1,TO=PD,LENGTH=1)


If you desperately, desperately want a fake abend, that should do it.


Viewing all articles
Browse latest Browse all 9405

Trending Articles