MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 5 matches
MVSFORUMS.com Forum Index
Author Message
  Topic: SYNCSORT: Summing on non-header records
joebite

Replies: 8
Views: 4446

PostForum: 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

PostForum: 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

PostForum: 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

PostForum: 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

PostForum: 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 ...
 
Page 1 of 1
All times are GMT - 5 Hours
Jump to:  


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group