View previous topic :: View next topic
|
Author |
Message |
raghuraman123
New User
Joined: 09 Nov 2017 Posts: 10 Location: India
|
|
|
|
[img]Hello All, We have a batch job which runs on every month that process 1 billion+ records, this job abends everytime due to space issue, We already had 32 sortworks plus we add another 32 to fix it. I saw this feature DYNALLOC, i have tested for this job and it ran fine. My question stats here.
In JCL i have written //DFSPARM DD *
OPTION DYNALLOC=(SRTDA,32) – max value 255
/*
but when I check SYSOUT, the sortworks dataset extended upto 64. Is this ok?. I can post screen shot if needed.[/img] |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Isn't DFSPARM a statement used for the IBM DFSORT utility rather than $ORTPARM which is the SYNCSORT version ?
Was there an allocation parameter used in the EXEC statement of the JCL for the program ? |
|
Back to top |
|
|
raghuraman123
New User
Joined: 09 Nov 2017 Posts: 10 Location: India
|
|
|
|
I am not sure about DFSPARM Usage in SYNCSORT,
JCL was like this:, I have skipped info like dataset names
//CSASRT1 EXEC PGM=SORT,REGION=9M
//SORTMSGS DD SYSOUT=O
//SYSOUT DD SYSOUT=O
//SORTIN DD...
....
//SORTOUT DD ...
//SYSIN
Sort condition
/*
//DUMMY DD DUMMY,UNIT=SRTDA,SPACE=(CYL,(400,200),RLSE)
//DFSPARM DD *
OPTION DYNALLOC=(SRTDA,32)
/*
Pls see the attached sysout, based on that I am sayiing it's SYNCSORT. |
|
Back to top |
|
|
raghuraman123
New User
Joined: 09 Nov 2017 Posts: 10 Location: India
|
|
|
|
pls see attachment, sorry missed to add before. |
|
Back to top |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2455 Location: Hampshire, UK
|
|
|
|
please use cut and paste to show 'screen shots' rather than attachments. And use the code tags when posting the cut'n'paste. |
|
Back to top |
|
|
raghuraman123
New User
Joined: 09 Nov 2017 Posts: 10 Location: India
|
|
|
|
Please let me know if any details needed, Expat, Just now I noticed in SYSOUT, it is DYNALLOC(SRTDA,64), actually in JCL it is 32. |
|
Back to top |
|
|
raghuraman123
New User
Joined: 09 Nov 2017 Posts: 10 Location: India
|
|
|
|
This is what happens before using DYNALLOC parameter, job abends with CC=U0016, we have used 32 sortworks, to fix this we add 32 more sortworks, then this run fine.
Code: |
SYSOUT:
WER046A SORT CAPACITY EXCEEDED
WER055I INSERT 0, DELETE 0
WER493I ZIIP PROCESSOR USED
WER211B SYNCSMF CALLED BY SYNCSORT; RC=0000
WER449I SYNCSORT GLOBAL DSM SUBSYSTEM ACTIVE
WER066A APROX RCD CNT 1178879350 |
CODE' d |
|
Back to top |
|
|
raghuraman123
New User
Joined: 09 Nov 2017 Posts: 10 Location: India
|
|
|
|
HI Moderator,
Sorry I did posted wrong information, in JCL it is coded as DYNALLOC(SRTDA,64) that's why 64 sortworks are used, one thing not sure for me, Based on above post, based on my SYSOUT attachement, it is SYNCSORT right, expat asked me is it right to use DFSPARM in SYNCSORT, but i used and it worked fine. Can anyone tell whether to us DFSPARM in SYNCSORT is right, Please do let me know if any question, I explain clear and sorry for too many posts, instead of asking in one post |
|
Back to top |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2455 Location: Hampshire, UK
|
|
|
|
What does the Syncsort manual say about DFSORT?
Edit: sorry - DFSPARM. |
|
Back to top |
|
|
vasanthz
Global Moderator
Joined: 28 Aug 2007 Posts: 1742 Location: Tirupur, India
|
|
|
|
Quote: |
What does the Syncsort manual say about DFSORT? |
"Don't use DFSORT!" |
|
Back to top |
|
|
raghuraman123
New User
Joined: 09 Nov 2017 Posts: 10 Location: India
|
|
|
|
Hi Nic,
I do have the manual for DFSORT, But for Syncsort I don't have, when I googled I could see using of
//DFSPARM DD*
OPTION DYNALLOC(SRTDA,nn)
/*
in SYNCSORT. |
|
Back to top |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2455 Location: Hampshire, UK
|
|
|
|
If you are using Syncsort then you have access to the manual, wherever it may be in your organisation. Do not try and use incorrect manuas - not all things are the same. You wouldn't replace a tyre on yur car with one for a tractor, would you? |
|
Back to top |
|
|
Marso
REXX Moderator
Joined: 13 Mar 2006 Posts: 1353 Location: Israel
|
|
|
|
No mention of DFSPARM in the SYNCSORT documentation.
However, it seems to be recognized, maybe to allow product switching without having to scan and update existing JCL. |
|
Back to top |
|
|
|