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

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


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
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
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
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri May 23, 2008 12:57 pm
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
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
Reply with quote

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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri May 23, 2008 2:43 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts To find whether record count are true... DFSORT/ICETOOL 6
Search our Forums:

Back to Top