Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
How to dynamically allocate/deallocate a QSAM File?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & ASSEMBLER
Author Message
sandhyarenu

New User


Joined: 04 Jan 2007
Posts: 15
Location: India

PostPosted: Thu May 22, 2008 11:12 am    Post subject:
Reply with quote

Hi,

Could someone help me with the assembler command to dynamically allocate/deallocate a QSAM File ? I am not sure what these keywords S99VERB,S99VRBIN could mean.
Back to top
View user's profile Send private message
References
PostPosted: Thu May 22, 2008 11:12 am    Post subject: Re: Reply with quote

bharath_gct2002

New User


Joined: 08 Oct 2007
Posts: 27
Location: Dallas, TX

PostPosted: Thu May 22, 2008 8:47 pm    Post subject:
Reply with quote

http://publib.boulder.ibm.com/infocenter/zos/v1r9/topic/com.ibm.zos.r9.ieaa800/sjdynal.htm#sjdynal

http://publib.boulder.ibm.com/infocenter/zos/v1r9/index.jsp?topic=/com.ibm.zos.r9.ieaa800/reqsvc.htm

These are some good documentations on DYNALLOC from IBM. It has answers to all your questions.

Please let me know this helps.
Bharath
Back to top
View user's profile Send private message
Splitted: Thu May 22, 2008 9:30 pm by William Thompson From Topic Dynamically allocating a new PS file in Assembler (PL/I & ASSEMBLER)
ironmike

New User


Joined: 07 Aug 2005
Posts: 37

PostPosted: Fri May 23, 2008 7:45 am    Post subject:
Reply with quote

As the Count of Monte Christo said, "It's complicated..."

You have to build a dynamic allocation parameter block by populating it with the dynamic allocation text units you want to use. There are different types of text units that describe different types of files or devices, even SYSOUT. You then issue the DYNALLOC macro or SVC 99.

Look at the above referenced documents, and @ IBM macros IEFZB4D0 and IEFZB4D2.

Start simple, just try to allocate the file, then if that works try a separate request to free the file.
Back to top
View user's profile Send private message
sandhyarenu

New User


Joined: 04 Jan 2007
Posts: 15
Location: India

PostPosted: Mon May 26, 2008 11:17 am    Post subject:
Reply with quote

Thanks much for all the help !! icon_smile.gif Will try out !
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & ASSEMBLER All times are GMT + 6 Hours
Page 1 of 1