IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

DYNAMNBR


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
die7nadal

Active User


Joined: 23 Mar 2005
Posts: 156

PostPosted: Sat Jul 02, 2005 1:16 am
Reply with quote

Can any one gimme any practical reason when we need DYNAMNBR parm in the EXEC statement. I did refer the JCL reference, but cud not get the reason why they use this parm.
Back to top
View user's profile Send private message
YOGENDRA SHINDE

New User


Joined: 02 Jul 2005
Posts: 1

PostPosted: Sat Jul 02, 2005 1:21 pm
Reply with quote

icon_smile.gif Hi , This is Yogendra.
You normally specify all the data sets you need with the DD statements in your JCL for a step, if you write programs that dynamically allocate data sets, you should code the DYNAMNBR parameter on the EXEC statement so the system can acquire the resources just before their use and release themm immediately after use.
You code //stepname EXEC DYNAMNBR=n
The n tells the system how many data set allocations to hold in aniticipation of reuse.( The system actually holds n plus the total number of the DD statements used by the step.
Back to top
View user's profile Send private message
die7nadal

Active User


Joined: 23 Mar 2005
Posts: 156

PostPosted: Sat Jul 02, 2005 8:32 pm
Reply with quote

Thanks a lot Yogendra.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts what is the use of DYNAMNBR=30 TSO/ISPF 3
No new posts Use of DYNAMNBR in JCL JCL & VSAM 3
No new posts Use of DYNAMNBR JCL & VSAM 1
No new posts DYNAMNBR - What does this mean? Mainframe Interview Questions 2
No new posts What is is the meaning of DYNAMNBR &a... JCL & VSAM 5
Search our Forums:

Back to Top