IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

KSDS with five records in total


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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: 1436
Location: Bangalore,India

PostPosted: Tue Jul 15, 2008 12:27 pm
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
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: 8797
Location: Welsh Wales

PostPosted: Tue Jul 15, 2008 1:06 pm
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
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: 8797
Location: Welsh Wales

PostPosted: Wed Jul 16, 2008 3:01 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts Pulling a fixed number of records fro... DB2 2
No new posts Merge two VSAM KSDS files into third ... JCL & VSAM 6
No new posts Null values are considered in Total c... DFSORT/ICETOOL 6
No new posts Join multiple records using splice DFSORT/ICETOOL 5
Search our Forums:

Back to Top