| Author |
Message |
Topic: SYNCSORT: Summing on non-header records |
joebite
Replies: 8
Views: 4446
|
Forum: Utilities Posted: Mon Jun 18, 2007 12:40 pm Subject: SYNCSORT: Summing on non-header records |
Thanks Phantom...it works!
Thanks again for your inputs and time.
Oops....I'm sorry...forgot to specify the Sign digit for PD (which is very important).
Try changing the INREC OVERLAY to
... |
Topic: SYNCSORT: Summing on non-header records |
joebite
Replies: 8
Views: 4446
|
Forum: Utilities Posted: Mon Jun 18, 2007 12:03 pm Subject: SYNCSORT: Summing on non-header records |
Hi Phantom,
I am getting S0C7 when I am using X'00' for OVERLAY.
Is there any way to initial packed decimals?
JoeBite
JoeBite,
Try this untested sort card
INREC IFTHEN=(WHEN= ... |
Topic: SYNCSORT: Summing on non-header records |
joebite
Replies: 8
Views: 4446
|
Forum: Utilities Posted: Mon Jun 18, 2007 11:49 am Subject: SYNCSORT: Summing on non-header records |
Hi Phantom,
Yes,retaining only 1 header is acceptable.
I have a question here....When you say that you may have duplicate headers, do you really want to retain them as such in the outp ... |
Topic: SYNCSORT: Summing on non-header records |
joebite
Replies: 8
Views: 4446
|
Forum: Utilities Posted: Mon Jun 18, 2007 11:36 am Subject: SYNCSORT: Summing on non-header records |
Thanks Kolusu for the reply.
Just one more favor. If the last rec is Packed Decimal, how does the OVERLAY parms set?
joebite,
Try this
//STEP0200 EXEC PGM=SORT
//SYSOUT ... |
Topic: SYNCSORT: Summing on non-header records |
joebite
Replies: 8
Views: 4446
|
Forum: Utilities Posted: Mon Jun 18, 2007 11:14 am Subject: SYNCSORT: Summing on non-header records |
Hi,
I have an input rec as follows
ABCD0001
ABCD9999 23928 293293892 23232
ABCD9999 23872 323232323 23232
WXYZ0002
WXYZ0002
WXYZ9999 83223 232322323 23323
WXYZ9999 83 ... |
| |