View previous topic :: View next topic
|
Author |
Message |
dpkeee
New User
Joined: 19 Jun 2006 Posts: 2
|
|
|
|
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 |
|
|
Jerry
New User
Joined: 16 Sep 2005 Posts: 42
|
|
|
|
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 |
|
|
prashantshinde
New User
Joined: 25 Nov 2005 Posts: 49 Location: Pune
|
|
|
|
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 |
|
|
|