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

JCL EXEC STEP


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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
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
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
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: 290
Location: Basel, Switzerland

PostPosted: Thu Mar 16, 2006 5:54 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Return codes-Normal & Abnormal te... JCL & VSAM 7
No new posts JCL EXEC PARM data in C Java & MQSeries 2
No new posts How to append a PS file into multiple... JCL & VSAM 3
No new posts convert file from VB to FB and use tr... DFSORT/ICETOOL 8
No new posts Forcing a step to run (even if abended) JCL & VSAM 8
Search our Forums:

Back to Top