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 

Sort - Dummy record
Goto page Previous  1, 2
 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12401
Topics: 75
Location: San Jose

PostPosted: Wed Nov 12, 2003 1:31 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Cogito-Ergo-Sum
Advanced


Joined: 15 Dec 2002
Posts: 637
Topics: 43
Location: Bengaluru, INDIA

PostPosted: Wed Nov 12, 2003 1:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12401
Topics: 75
Location: San Jose

PostPosted: Wed Nov 12, 2003 3:29 pm    Post subject: Reply with quote

Cogito,

I missed that you allocated the same VSAM file for both OT01 & OT02 DD Names. Sorry about that.

Thanks

Kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Cogito-Ergo-Sum
Advanced


Joined: 15 Dec 2002
Posts: 637
Topics: 43
Location: Bengaluru, INDIA

PostPosted: Wed Nov 12, 2003 7:34 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group