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

partial key in vsam file


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
dpkeee

New User


Joined: 19 Jun 2006
Posts: 2

PostPosted: Thu Jun 22, 2006 7:28 am
Reply with quote

Hi,

I have a vsam file, with key as store po and store name.
I know only the store PO.
So i want to use partial key concept of vsam files to do it. Can any body tell me where can i get the code for this.

Thanks,
dpkeee
Back to top
View user's profile Send private message
Jerry

New User


Joined: 16 Sep 2005
Posts: 42

PostPosted: Thu Jun 22, 2006 5:38 pm
Reply with quote

Hi Dpkee,

There is a read with generic read option in CICS.

READ FILE(filename) INTO(data-area) LENGTH(n) RIDFLD(key) KEYLENGTH(n) GENERIC

Would this help.
Back to top
View user's profile Send private message
prashantshinde

New User


Joined: 25 Nov 2005
Posts: 49
Location: Pune

PostPosted: Fri Jun 23, 2006 4:26 pm
Reply with quote

hi,
I think u can use partial key in VSAM-cobol prog.
it will retrieve all the records which contain that partial key as their initial part of key , like:
supose partial key is 101*
then it will retieve all records like..
10123
10127
10180...etc.
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 -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts Need help for File Aid JCL to extract... Compuware & Other Tools 23
Search our Forums:

Back to Top