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
 

 

JCL EXEC STEP

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
karthik1680
Warnings : 2

New User


Joined: 14 May 2005
Posts: 64
Location: chennai

PostPosted: Thu Mar 16, 2006 2:13 pm    Post subject: JCL EXEC STEP
Reply with quote

IN BELOW JCL STATEMENT WHAT DOES DYNAMBR=20 MEAN?

//STEP01 EXEC PGM=IKJEFT01,DYNAMNBR=20
Back to top
View user's profile Send private message

thanooz

New User


Joined: 28 Jun 2005
Posts: 99

PostPosted: Thu Mar 16, 2006 2:24 pm    Post subject:
Reply with quote

hi karthik,



Dynamic allocation allows a job to acquire resources as they are needed and release them immediately after use. The resources are a ddname-data set combination with its volumes and devices.
One reason to use dynamic allocation is that you may not know all of the device requirements for a job before execution. Another reason is that it allows the system to use resources more efficiently; that is, the system can acquire resources justbefore their use and release them immediately after use.
To tell the system the number of resources to be held in anticipation of reuse, code:
//stepname EXEC PGM=x,DYNAMNBR=n
The system uses the sum of this number and the number of DD statements in the
step to establish a control limit for tracking resources that it is holding in anticipation
of reuse.

This will help's you.

Thak's
thanooz.
Back to top
View user's profile Send private message
karthik1680
Warnings : 2

New User


Joined: 14 May 2005
Posts: 64
Location: chennai

PostPosted: Thu Mar 16, 2006 3:29 pm    Post subject: Re: JCL EXEC STEP
Reply with quote

hi
thnks for u r answer, could u explain it detaily?
Back to top
View user's profile Send private message
thanooz

New User


Joined: 28 Jun 2005
Posts: 99

PostPosted: Thu Mar 16, 2006 4:41 pm    Post subject:
Reply with quote

hi karthik,

Dynamic allocation allows a job to acquire resources as they are needed and release them immediately after use. The resources are a ddname-data set combination with its volumes and devices.
One reason to use dynamic allocation is that you may not know all of the device requirements for a job before execution. Another reason is that it allows the system to use resources more efficiently; that is, the system can acquire resources justbefore their use and release them immediately after use.
To tell the system the number of resources to be held in anticipation of reuse, code:
//stepname EXEC PGM=x,DYNAMNBR=n
The system uses the sum of this number and the number of DD statements in the
step to establish a control limit for tracking resources that it is holding in anticipation
of reuse.


The control limit is the sum of the number of DD statements coded and the
value coded in the DYNAMNBR parameter:
in u r case
no DD statements u decare + 20
If this control limit is reached and another dynamic allocation is requested, the request is not honored unless resources can be unallocated so that the control limit is not exceeded.
Back to top
View user's profile Send private message
martin9

Active User


Joined: 01 Mar 2006
Posts: 288
Location: Basel, Switzerland

PostPosted: Thu Mar 16, 2006 5:54 pm    Post subject:
Reply with quote

hy karthik1680,

this is common jcl syntax,
please read the manual first, there is all described.

martin9
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Validate date and numeric fields and ... Rick Silvers DFSORT/ICETOOL 6 Thu May 11, 2017 6:51 pm
No new posts Running an REXX EXEC implicitly sho7hills CLIST & REXX 3 Thu Apr 20, 2017 8:14 am
No new posts Strange EXEC function call in z/VM Willy Jensen CLIST & REXX 3 Wed Oct 05, 2016 2:07 pm
No new posts hot to get details when "EXEC CI... Andi1982 CICS 11 Tue Sep 20, 2016 5:01 pm
No new posts Converting multiple VB files to FB fi... Viswanath Reddy JCL & VSAM 6 Mon Aug 08, 2016 11:49 pm


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