Accessing a KSDS file with partial key
-
- Posts: 33
- Joined: Thu Jun 03, 2010 3:15 pm
- Skillset: cobol, jcl, vsam, db2, cics, endevor, infoman, file-aid, dfsort
- Referer: internet
Accessing a KSDS file with partial key
If I know only a part of the key, How can I access a particular record in KSDS file?
Knowledge is wealth
-
- Global moderator
- Posts: 3720
- Joined: Sat Dec 19, 2009 8:32 pm
- Skillset: Systems programming, SAS, COBOL, CICS, JCL, SMS, VSAM, etc.
- Referer: other forum
- Location: Dubuque, Iowa, USA
Re: Accessing a KSDS file with partial key
As long as you know the FIRST part of the key, you can do a generic read to find the first record matching the part of the key you have. If you do not have the first part of the key, either an alternate index must be built for the part of the key you have, or what you are asking is not possible.
-
- Similar Topics
- Replies
- Views
- Last post
-
- 1
- 2306
-
by Robert Sample
View the latest post
Fri Feb 25, 2022 7:42 pm
-
- 3
- 7908
-
by socker_dad
View the latest post
Thu Jan 28, 2021 4:13 am
-
-
Copy partial record after a string in a record using SORT.
by Esmayeelhusen » Thu May 04, 2023 3:03 pm » in DFSORT/ICETOOL/ICEGENER - 16
- 4266
-
by Esmayeelhusen
View the latest post
Mon May 22, 2023 3:50 pm
-
-
-
Assembler program accessing IMS DB Database
by gschhatwal1176 » Sat Aug 08, 2020 12:34 pm » in Assembler - 5
- 10542
-
by NicC
View the latest post
Sun Aug 09, 2020 2:53 am
-
-
-
EZIOE004 Logical I/O error on file occurred reading VB file
by savitha_y » Mon Feb 15, 2021 7:54 pm » in CA-Easytrieve - 3
- 4964
-
by savitha_y
View the latest post
Wed Feb 17, 2021 5:02 am
-