Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 6970
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: 8686
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: 8686
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 MXG - Processing Compressed DB2 SMF r... vasanthz All Other Mainframe Topics 2 Thu May 10, 2018 12:47 am
No new posts Extract the records with a PD field's... sudhakar84 DFSORT/ICETOOL 11 Mon Apr 02, 2018 7:26 pm
No new posts Merge 2 records sancraig16 SYNCSORT 19 Tue Mar 27, 2018 8:17 pm
No new posts Copy set of records based on condition krish.deepu SYNCSORT 2 Thu Mar 08, 2018 11:39 am
No new posts add sequence number for duplicate rec... SRUTHI DRAVIDAMANI COBOL Programming 11 Thu Feb 22, 2018 5:37 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us