MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Can we use VSAM file in IMS DC Program

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> IMS
View previous topic :: View next topic  
Author Message
senthilpalanivel
Beginner


Joined: 22 Jul 2003
Posts: 7
Topics: 6
Location: Bangalore

PostPosted: Tue Aug 05, 2003 8:22 am    Post subject: Can we use VSAM file in IMS DC Program Reply with quote

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
View user's profile Send private message Send e-mail Yahoo Messenger
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Tue Aug 05, 2003 2:39 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> IMS All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group