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 

vsam files in stored procedures

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


Joined: 17 Jun 2004
Posts: 36
Topics: 14
Location: westminster, california

PostPosted: Wed Apr 19, 2006 11:20 am    Post subject: vsam files in stored procedures Reply with quote

We want to access VSAM files from within COBOL DB/2 stored procedures. The DB2 manual states that you have to add DD statements to the SPAS or WLM address space for each VSAM file that the stored procedure(s) are going to access. I am not comfortable with the idea of adding user application files to system procs. Is there another way for a COBOL DB/2 stored procedure to access VSAM files without requiring hard-coded DD cards in the SPAS or WLM address space where the stored procedure executes?

vmbigot
_________________
Inside every older man is a young boy asking this question. What the heck happened?!?
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


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

PostPosted: Wed Apr 19, 2006 12:13 pm    Post subject: Reply with quote

Quote:

Is there another way for a COBOL DB/2 stored procedure to access VSAM files without requiring hard-coded DD cards in the SPAS or WLM address space where the stored procedure executes?



Unfortunately NO.

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
vmbigot
Beginner


Joined: 17 Jun 2004
Posts: 36
Topics: 14
Location: westminster, california

PostPosted: Wed Apr 19, 2006 12:30 pm    Post subject: Reply with quote

That's what I was afraid of. Thanks for the quick reply.

vmbigot
_________________
Inside every older man is a young boy asking this question. What the heck happened?!?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database 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