Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

VSAM allocation in Assembler

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler
View previous topic :: :: View next topic  
Author Message
Siddharth4v

New User


Joined: 20 Aug 2008
Posts: 7
Location: India

PostPosted: Wed Aug 20, 2008 4:27 pm    Post subject: VSAM allocation in Assembler
Reply with quote

Hi,
Can somebody help me out on "how to allocate a VSAM file" from an assembler program. I actually want to dynamically create a VSAM file from an application program written in assembler.
I'm only able to get how to read and write to an existing VSAM file. I'm not getting how to allocate a VSAM from an assembler program.
Back to top
View user's profile Send private message

Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Wed Aug 20, 2008 6:33 pm    Post subject:
Reply with quote

One option is to call program IDCAMS after building the SYSIN data "cards" in your main program. The DFSMS Access Methods Services for Catalogs manual has an Appendix showing a program invoked IDCAMS sample.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Wed Aug 20, 2008 6:39 pm    Post subject: Re: VSAM allocation in Assembler
Reply with quote

Siddharth4v wrote:
Hi,
Can somebody help me out on "how to allocate a VSAM file" from an assembler program. I actually want to dynamically create a VSAM file from an application program written in assembler.
I'm only able to get how to read and write to an existing VSAM file. I'm not getting how to allocate a VSAM from an assembler program.


May I ask the need to build a dynamic VSAM file in flight ?

Have you considered the problems that this may cause for the prod support people who will have no record in their JCL of where the file is created.

I have come across this before and it really is a PUTA for those that have to support the end product.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Fail to change physical VSAM filename... jacobdng CICS 0 Fri Jan 20, 2017 12:36 pm
No new posts how to recover an uncataloged VSAM da... archanamuthukrishnan All Other Mainframe Topics 3 Wed Jan 11, 2017 6:18 pm
No new posts Underlying DB2 VSAM LDS - SMF recording vasanthz All Other Mainframe Topics 6 Thu Jan 05, 2017 4:20 am
No new posts A not very Christmassy PL/I tale, wit... prino PL/I & Assembler 3 Mon Dec 26, 2016 1:01 am
No new posts REXX DB2: Dynamic allocation of DB2.D... BHAS CLIST & REXX 3 Mon Dec 19, 2016 8:26 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us