Page 1 of 1

SYNSORT: VSAM File with Comp-3

PostPosted: Wed Dec 02, 2009 1:36 am
by kennardtan
Hi,

I would like to ask assistance for a syncsort.
I would like to include only those records with amount of 3212.25 on column 34-38. By the way the input file is a KSDS.

1. should my output file also be a VSAM? or is it ok to have a flat file?
2. how does the sysin look like? --> INCLUDE COND=(34,5,PD,EQ,3212.25)
3. how will i declare the sysout?


thank you so much for your assistance.

Re: SYNSORT: VSAM File with Comp-3

PostPosted: Wed Dec 02, 2009 7:34 am
by dick scherrer
Hello,

1. the output file should be whatever is needed. we cannot tell you this. what kind file depends on how it is to be used.

2. packed-decimal fields do not contain a decimal point. The decimal is implied.

3. sysout=* ? - it is not clear what you are asking.