View previous topic :: View next topic |
Author |
Message |
senthilpalanivel Beginner
Joined: 22 Jul 2003 Posts: 7 Topics: 6 Location: Bangalore
|
Posted: Tue Aug 05, 2003 8:22 am Post subject: Can we use VSAM file in IMS DC Program |
|
|
Hi Guys
Is it Possible to use VSAM or Sequential Files in IMS DC program.
If yes, can anybody elloborate on this
thanks
senthil |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
Posted: Tue Aug 05, 2003 2:39 pm Post subject: |
|
|
Senthil,
There is a way of reading the VSAM cluster in IMS DC program via SHISAM database.A simple HISAM (SHISAM) database is a HISAM database containing only one type of segment, a root segment. The segment has no prefix, because no need exists for a segment code (there is only one segment type) or for a delete byte (deletes are done using a VSAM erase operation).SHISAM databases must be KSDSs; they are accessed via VSAM. Because SHISAM segments contain user data only (no IMS prefixes), they can be accessed by VSAM macros and DL/I calls. All the DL/I calls can be issued against SHISAM databases.
So define your VSAM file as a SHISAM database to IMS and you can access it in the program.
Hope this helps....
cheers
kolusu |
|
Back to top |
|
|
|
|