Author: sergeyken
Posted: Thu Mar 23, 2017 11:34 pm (GMT 5.5)
He needs the result of DATE1P shifted half-a-byte left:
X'0yymmddC' ==> X'yymmdd--'
and next use only 6 dec digits = 3 full bytes of it:
X'yymmdd'
That's why something like MUL,+10 is needed. No simple way to move data half-a-byte in SORT operations...
_________________
Tyrannosaurus-REXX
Posted: Thu Mar 23, 2017 11:34 pm (GMT 5.5)
Arun Raj wrote: | ||
From the last post made by the OP, looks like he is trying to get rid of the cc - part. So there is NO need of MULtiplication if I understand correctly. Appending DATE1P can be included in the OUTFIL itself instead of adding an INREC. |
He needs the result of DATE1P shifted half-a-byte left:
X'0yymmddC' ==> X'yymmdd--'
and next use only 6 dec digits = 3 full bytes of it:
X'yymmdd'
That's why something like MUL,+10 is needed. No simple way to move data half-a-byte in SORT operations...
_________________
Tyrannosaurus-REXX