Ron,

Are you sure you are running the 2 sorts with the SAME INPUT Files?

The first sort has 

----+----1----+----2----+----3----+----4----+
6558                     641547059W 

But the output from the 2nd sort has 2 records for the same key 
combination.


----+----1----+----2----+----3----+
6558                     641547059W
6558                     641547059W


so how did you get 2 records for 1 sort and just 1 record for 1 sort?


Thanks,
Kolusu

IBM Mainframe Discussion List <[email protected]> wrote on 
07/30/2014 07:44:03 AM:

> From: Ron Thomas <[email protected]>
> To: [email protected]
> Date: 07/30/2014 07:45 AM
> Subject: Re: SORT JCL
> Sent by: IBM Mainframe Discussion List <[email protected]>
> 
> Kolusu, The DCB parameter is same  FB 80 bytes LRECL. Here is the 
> sortout data comming in both the cases
> 
> 6558140714150557LAPOELA  641547059W...............<DF000000WCOH56 
> ..............
> 
FFFFFFFFFFFFFFFFDCDDCDC44FFFFFFFFFE0003000300000044CCFFFFFFECDCFF400000019000000
> 
65581407141505573176531006415470596000D005C000C008C460000006368560000C009E000000
> 
> 
------------------------------------------------------------------------------
> 6558140714163020LAPOELA  642065239W................DT000000WCOH52 
> ..............
> 
FFFFFFFFFFFFFFFFDCDDCDC44FFFFFFFFFE0001002900000010CEFFFFFFECDCFF400000019000000
> 
65581407141630203176531006420652396000D002C000C045C430000006368520000C009E000000
> 
> 
------------------------------------------------------------------------------
> 6558140714150636LAPOELA  642191799W.......*........DF000000WCOH56 
> ..............
> 
FFFFFFFFFFFFFFFFDCDDCDC44FFFFFFFFFE0001000500000068CCFFFFFFECDCFF400000019000000
> 
65581407141506363176531006421917996000D005C000C004C460000006368560000C009E000000
> 
> 
------------------------------------------------------------------------------
> 6558140714152553LAHOXTE 
> 642391539W.......*........VR729515WW73583..............
> 
FFFFFFFFFFFFFFFFDCCDEEC44FFFFFFFFFE0001000500000002EDFFFFFFEEFFFFF00020019000000
> 
65581407141525533186735006423915396000D000C000C017C597295156673583017C009E000000
> 
> 
------------------------------------------------------------------------------
> 6558140714150626LAPOELA  642473069W.......@......&.DF000000WCOH56 
> ..............
> 
FFFFFFFFFFFFFFFFDCDDCDC44FFFFFFFFFE0002000700000058CCFFFFFFECDCFF400000019000000
> 
65581407141506263176531006424730696000D002C000C000C460000006368560000C009E000000
> 
> Below one is with the modified sort card where the same data is in 
> 71'th 4 byte binary data
> 
> 
> 
> 6558140714150557LAPOELA  641547059W...............<DF000000WCOH56 
> ..............
> 
FFFFFFFFFFFFFFFFDCDDCDC44FFFFFFFFFE0003000300000044CCFFFFFFECDCFF400000019000000
> 
65581407141505573176531006415470596000D005C000C008C460000006368560000C009E000000
> 
> 
------------------------------------------------------------------------------
> 6558140713175118BWGILBE  641547059W...............<DF000000WCOH56 
> ..............
> 
FFFFFFFFFFFFFFFFCECCDCC44FFFFFFFFFE0002000900000044CCFFFFFFECDCFF400000019000000
> 
65581407131751182679325006415470596000D006C000C008C460000006368560000C009E000000
> 
> 
------------------------------------------------------------------------------
> 6558140714163020LAPOELA  642065239W................DT000000WCOH52 
> ..............
> 
FFFFFFFFFFFFFFFFDCDDCDC44FFFFFFFFFE0001002900000010CEFFFFFFECDCFF400000019000000
> 
65581407141630203176531006420652396000D002C000C045C430000006368520000C009E000000
> 
> 
------------------------------------------------------------------------------
> 6558140714150636LAPOELA  642191799W.......*........DF000000WCOH56 
> ..............
> 
FFFFFFFFFFFFFFFFDCDDCDC44FFFFFFFFFE0001000500000068CCFFFFFFECDCFF400000019000000
> 
65581407141506363176531006421917996000D005C000C004C460000006368560000C009E000000
> 
> 
> Thanks
> Ron T
> 
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
> 

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to