Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

KSDS with five records in total

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
hmurali
Warnings : 1

New User


Joined: 08 Mar 2005
Posts: 17

PostPosted: Tue Jul 15, 2008 12:25 pm    Post subject: KSDS with five records in total
Reply with quote

I have a KSDS with five records in total. I need to perform the following. Issue is the Key fileds have high values in them for the first three records. IF i were to perform a read, would i be able to read (top to bottom), will vsam pick the first record itself and acknowledge as first record or will it skip the first three records as high values and treat the fourth record as the first one read.

Please clarify.
Back to top
View user's profile Send private message

murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1439
Location: Bangalore,India

PostPosted: Tue Jul 15, 2008 12:27 pm    Post subject:
Reply with quote

Murali,

Quote:
Issue is the Key fileds have high values in them for the first three records


Tell me you are joking.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Tue Jul 15, 2008 12:46 pm    Post subject:
Reply with quote

murmohk1,

Quote:

Tell me you are joking


your diplomatic skills are much better than mine.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Tue Jul 15, 2008 1:06 pm    Post subject:
Reply with quote

Quote:
your diplomatic skills are much better than mine.

Dick, surely you jest icon_biggrin.gif

hmurali
What is the problem here ?
Back to top
View user's profile Send private message
hmurali
Warnings : 1

New User


Joined: 08 Mar 2005
Posts: 17

PostPosted: Wed Jul 16, 2008 11:22 am    Post subject:
Reply with quote

This a scenario posted to me at an interview and i was clueless myself of such a situation.

Can be have high values in key-fields in KSDS?
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Wed Jul 16, 2008 3:01 pm    Post subject:
Reply with quote

hmurali wrote:
This a scenario posted to me at an interview and i was clueless myself of such a situation.

Can be have high values in key-fields in KSDS?


YES
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Removing Duplicates based on certain ... chandracdac DFSORT/ICETOOL 8 Fri Dec 09, 2016 4:40 am
No new posts Limit duplicate records in the SORT pshongal SYNCSORT 6 Mon Nov 21, 2016 12:54 pm
No new posts How to split the records using the am... vnktrrd DFSORT/ICETOOL 24 Fri Oct 28, 2016 7:33 pm
No new posts Sort records based on numeric field. Alks SYNCSORT 2 Wed Oct 19, 2016 10:14 pm
No new posts abend sort based on count records in ... anatol DFSORT/ICETOOL 5 Mon Oct 17, 2016 10:10 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us