VSAM organization types
-
- Posts: 6
- Joined: Tue Sep 14, 2021 8:32 pm
- Skillset: COBOL, basic CICS, DB2, basic JCL
- Referer: online
VSAM organization types
How to choose VSAM organization type to use? When is KSDS,ESDS,RRDS,LDS most suitable? Like what's the best VSAM type to use for batch processing, cics, etc.
-
- Posts: 239
- Joined: Wed Dec 04, 2013 11:08 pm
- Skillset: COBOL, JCL, ISPF.
- Referer: While searching the Internet for answers.
- Location: Richfield, MN, USA
Re: VSAM organization types
The organization type is better determined by access desired rather than whether it's batch or CICS. Sometimes you'll want sequential, other times random, other times a combination of both. There's an IBM redbook called VSAM Demystified that might be one of the best to look at.
.... Terry
-
- 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: VSAM organization types
KSDS is usually used when random access to data by a key is needed. ESDS is usually used for applications writing sequential data. RRDS is usually used when random access to data without a key is needed. LDS is rarely used by applications.
Asking
Asking
is the exact opposite of the approach that should be taken. The first thing to determine is how does the data need to be organized? How will the data be written to VSAM? How will the data be retrieved from VSAM? Once you have the answers to these questions, that will suggest the organization that needs to be used.How to choose VSAM organization type to use?
-
- Similar Topics
- Replies
- Views
- Last post
-
- 3
- 7871
-
by socker_dad
View the latest post
Thu Jan 28, 2021 4:13 am
-
-
Can anyone tell me how to retrieve the vsam system timestamp
by jdechirico » Tue Jun 18, 2024 9:22 pm » in VSAM/SMS - 1
- 1538
-
by enrico-sorichetti
View the latest post
Tue Jun 18, 2024 10:06 pm
-
-
- 2
- 1429
-
by naga821
View the latest post
Fri Oct 28, 2022 7:31 pm
-
-
How to import a ZFS data file into VSAM catalog
by danik56 » Tue Nov 23, 2021 10:29 pm » in VSAM/SMS - 0
- 3398
-
by danik56
View the latest post
Tue Nov 23, 2021 10:29 pm
-
-
-
Joining 2 vb files into vsam files ended error
by newbiemainframe » Thu Nov 12, 2020 7:59 am » in JCL - 1
- 1741
-
by NicC
View the latest post
Thu Nov 12, 2020 7:15 pm
-