subdalal
New User
Joined: 27 Sep 2010 Posts: 21 Location: Boudh
|
|
|
|
Hi,
I have requirement to extract reords starting with (500,501,600,601) to one VSAM file and the rest other records to another VSAM file.
But I am not getting appropriate results. Please help !!!
The Sort Card is as below:
SORT FIELDS=COPY
OUTFIL FILES=01,INCLUDE=(1,3,ZD,EQ,500,OR,
1,3,ZD,EQ,501,OR,
1,3,ZD,EQ,600,OR,
1,3,ZD,EQ,601)
OUTFIL FILES=02,INCLUDE=(1,3,ZD,NE,500,AND,
1,3,ZD,NE,501,AND,
1,3,ZD,NE,600,AND,
1,3,ZD,NE,601) |
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Quote: |
But I am not getting appropriate results. Please help !!! |
How can we help when you did not describe a problem? "[N]ot getting appropriate results" could be any of:
- getting an abend
- getting a SORT error message
- getting a SORT warning message
- getting results for file 01 but not file 02
- getting results for file 02 but not file 01
- getting results for file 01 and file 02 but not what you expected in file 01
- getting results for file 01 and file 02 but not what you expected in file 02
- getting results for file 01 and file 02 but neither is what you expected
- something else you have not explained
Since each of these requires different solution, it's hard to say much. In other words, you have not yet even defined what kind of problem you have. |
|