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
 

 

If the key of a KSDS record begins in the second field

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
Sukhmeet Singh

New User


Joined: 28 Dec 2007
Posts: 12
Location: kolkata

PostPosted: Fri May 23, 2008 12:36 pm    Post subject: If the key of a KSDS record begins in the second field
Reply with quote

if the key of a KSDS record begins in the second field (first field is 25 bytes long), the offset in the key parameter is
a). 24
b). 25
c). 26
d). none
Back to top
View user's profile Send private message

chandu.be

New User


Joined: 17 Jul 2006
Posts: 9
Location: Bagalore

PostPosted: Fri May 23, 2008 12:55 pm    Post subject: Reply to: urgent....i am confused b/w 24 and 25....?
Reply with quote

Hi,
In KEYS option first parameter will be the length of the key and the second one will be starting position of the key.

KEYS(<length of your key field) 26)


Regards,
Chant
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10232
Location: italy

PostPosted: Fri May 23, 2008 12:57 pm    Post subject: Reply to: urgent....i am confused b/w 24 and 25....?
Reply with quote

a piece of paper and a pencil ( well sharpened ) should help You to solve Your doubt

position 1 = offset 0
position 2 = offset 1
....
....
....
keep counting until You find the answer or fall asleep
....
....
....
Back to top
View user's profile Send private message
the_gautam

Active User


Joined: 05 Jun 2005
Posts: 165
Location: Bangalore

PostPosted: Fri May 23, 2008 1:02 pm    Post subject:
Reply with quote

25
Back to top
View user's profile Send private message
Sukhmeet Singh

New User


Joined: 28 Dec 2007
Posts: 12
Location: kolkata

PostPosted: Fri May 23, 2008 2:42 pm    Post subject: RE: urgent....i am confused b/w 24 and 25....?
Reply with quote

thanx a lot frnz,....
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10232
Location: italy

PostPosted: Fri May 23, 2008 2:43 pm    Post subject: Reply to: urgent....i am confused b/w 24 and 25....?
Reply with quote

Quote:
...frnz...


could You please translate to human language
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 -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Record Not found in AlX but record re... mukun264 COBOL Programming 7 Fri Mar 24, 2017 9:28 am
No new posts Count the length of the record & ... sreekusr DFSORT/ICETOOL 4 Thu Mar 23, 2017 7:52 pm
No new posts SORT VSAM file with each field one by... maxsubrat DFSORT/ICETOOL 6 Tue Mar 14, 2017 1:07 pm
No new posts IMS DB-How to update a record (a sing... Nic Clouston IMS DB/DC 9 Thu Mar 09, 2017 4:38 pm
No new posts outrec field outside range Danielle.Filteau SYNCSORT 10 Sat Mar 04, 2017 2:37 am


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