| View previous topic :: View next topic |
| Author |
Message |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12401 Topics: 75 Location: San Jose
|
Posted: Wed Nov 12, 2003 1:31 pm Post subject: |
|
|
Cogito,
I may be missing something here, but I don't exactly see a delete in the above process. The first copy operator is copying a flat file with a false include cond which will create just 1 record with spaces as you are using header parm.
Now you take the output flat file and load it into a vsam ksds file let us say Cluster1
Now the cluster1 ksds has one record with all spaces in it
Now you are using a sort with a omit cond to copy cluster1 to another vsam KSDS let us say cluster2. Since you are omitting records with spaces this sort function will end in sorting zero records to cluster2.
Now my question is where exactly are you DELETING a record from the KSDS?
Kolusu |
|
| Back to top |
|
 |
Cogito-Ergo-Sum Advanced
Joined: 15 Dec 2002 Posts: 637 Topics: 43 Location: Bengaluru, INDIA
|
Posted: Wed Nov 12, 2003 1:48 pm Post subject: |
|
|
This one,
| Quote: | | cluster1 ksds has one record with all spaces in it |
BTW, I have cluster2 same as cluster1.
[added the last line] _________________ ALL opinions are welcome.
Debugging tip:
When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth.
-- Sherlock Holmes. |
|
| Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12401 Topics: 75 Location: San Jose
|
Posted: Wed Nov 12, 2003 3:29 pm Post subject: |
|
|
Cogito,
I missed that you allocated the same VSAM file for both OT01 & OT02 DD Names. Sorry about that.
Thanks
Kolusu |
|
| Back to top |
|
 |
Cogito-Ergo-Sum Advanced
Joined: 15 Dec 2002 Posts: 637 Topics: 43 Location: Bengaluru, INDIA
|
Posted: Wed Nov 12, 2003 7:34 pm Post subject: |
|
|
No apologies!
Maybe I should have been clearer with DSN. _________________ ALL opinions are welcome.
Debugging tip:
When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth.
-- Sherlock Holmes. |
|
| Back to top |
|
 |
|
|
|