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

Searching record using partial key


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sandhyaimmadi

New User


Joined: 18 Aug 2008
Posts: 50
Location: Bangalore

PostPosted: Mon Jan 03, 2011 7:07 pm
Reply with quote

Hi,

How to search/start a record in KSDS using a partial key.

Thanks,
Sandhya
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Mon Jan 03, 2011 7:11 pm
Reply with quote

CICS? Batch?

COBOL? PL/I? Assembler? REXX? SAS? Some other language?

You're not really providing enough details for a meaningful answer.
Back to top
View user's profile Send private message
sandhyaimmadi

New User


Joined: 18 Aug 2008
Posts: 50
Location: Bangalore

PostPosted: Tue Jan 04, 2011 7:48 pm
Reply with quote

It is for COBOL Batch.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Tue Jan 04, 2011 8:15 pm
Reply with quote

Why did you post a batch COBOL question in the SMS & VSAM forum? I've moved it for you.

If the partial key is at the start of the key (which is something else you could have told us, rather than letting us guess), you can use a START to set your position. If the partial key is not at the start of the key, you can use an alternate index -- or what you want cannot be done.
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 -> COBOL Programming

 


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 To find whether record count are true... DFSORT/ICETOOL 6
No new posts Validating record count of a file is ... DFSORT/ICETOOL 13
Search our Forums:

Back to Top