View previous topic :: View next topic
|
Author |
Message |
alan_blore
New User
Joined: 01 Aug 2007 Posts: 50 Location: Hosur
|
|
|
|
Hi,
I have JCL which creates a PS file defined with
UNIT=(SYSDA,2),SPACE=(CYL,(600,100),RLSE),
Now, I have doubt here - since this step executes for hours.
By coding SYSDA,2 for UNIT - does it mean we are searching for CYL,(600,100) within two volumes?
By increasing the UNIT to SYSDA,14 - Will it make any difference?
Thanks! |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
The fact that the step executes for hours is almost certainly not related to the space request. Considering DASD access times are in milliseconds, the space is either acquired or not acquired in a fraction of a second. If not acquired, your job will get an x37 abend. |
|
Back to top |
|
|
PeD
Active User
Joined: 26 Nov 2005 Posts: 459 Location: Belgium
|
|
|
|
Quote: |
By increasing the UNIT to SYSDA,14 - Will it make any difference?
|
We can discuss on that, but not significantly.
But .... which language? how many records? blocksize? buffersize?....
Check all that. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
Now, I have doubt here - since this step executes for hours. |
Allowing the allocation to span more volumes will not significantly alter this. . .
The 2 things to consider are the volume of data and how the code is written. Code that runs sub-second for 100 records may fail when full volume data is processed (which is why it is very risky to promote code that has not gone thru a "full volume" test before promotion to Production).
How many records are to be read? Written? Will any of the records be accessed multiple times? Is the input on tape/cart? If so, how long is the wait between mounts?
Posting the full jcl for this step may help someone help you. |
|
Back to top |
|
|
alan_blore
New User
Joined: 01 Aug 2007 Posts: 50 Location: Hosur
|
|
|
|
Thanks All for Info...and sorry for late reply
It was the CPU which was full, so making this job to run long. Now it is ok.
But now the other question arises...
Consider this step - a SORT or a program - whatever it is -
What would be ideal value for 'n' in parameter UNIT=(SYSDA,n)?
I believe we can check with storage team for this, but that is tough for me in a day to day scenario, If I need to decide - what should I do.. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
Just because something is a bit of effort does not mean it should not be done. . . Your storage management people should be your first place to ask. They manage your system and know particulars - we do not.
There is no "ideal value". It is not as though the dataset will be scattered about thus improving performance. . . Suggest you look in the JCL Language Reference (link to "IBM Manuals" at the top of the page) and learn about the UNIT subparameters. |
|
Back to top |
|
|
|