Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 290
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 Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
No new posts it is possible output a SET value fro... Martylin JCL & VSAM 5 Fri Sep 22, 2017 7:08 am
No new posts exec macro in the end of edit anatol CLIST & REXX 8 Fri Sep 22, 2017 5:10 am
No new posts Restart=Step not working ALAK SAHA JCL & VSAM 6 Fri Jun 30, 2017 6:28 pm
No new posts Validate date and numeric fields and ... Rick Silvers DFSORT/ICETOOL 6 Thu May 11, 2017 6:51 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us