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: 10210
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: 10210
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 INVALID FIELD OR CONSTANT IN SORTOF ?? Ron Klop DFSORT/ICETOOL 8 Wed Jan 11, 2017 3:44 pm
No new posts Performing arithmetic on input field zh_lad DFSORT/ICETOOL 31 Tue Dec 06, 2016 8:04 pm
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts How to update a portion of text in a ... Bill Woodger DFSORT/ICETOOL 25 Wed Nov 09, 2016 9:41 pm
No new posts How to split the records using the am... vnktrrd DFSORT/ICETOOL 24 Fri Oct 28, 2016 7:33 pm


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