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

reg query on DYNALLOC feature


IBM Mainframe Forums -> SYNCSORT
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
raghuraman123

New User


Joined: 09 Nov 2017
Posts: 10
Location: India

PostPosted: Wed Jan 10, 2018 2:42 pm
Reply with quote

[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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Wed Jan 10, 2018 2:54 pm
Reply with quote

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
View user's profile Send private message
raghuraman123

New User


Joined: 09 Nov 2017
Posts: 10
Location: India

PostPosted: Wed Jan 10, 2018 3:37 pm
Reply with quote

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
View user's profile Send private message
raghuraman123

New User


Joined: 09 Nov 2017
Posts: 10
Location: India

PostPosted: Wed Jan 10, 2018 3:39 pm
Reply with quote

pls see attachment, sorry missed to add before.
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2455
Location: Hampshire, UK

PostPosted: Wed Jan 10, 2018 3:47 pm
Reply with quote

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
View user's profile Send private message
raghuraman123

New User


Joined: 09 Nov 2017
Posts: 10
Location: India

PostPosted: Wed Jan 10, 2018 3:48 pm
Reply with quote

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
View user's profile Send private message
raghuraman123

New User


Joined: 09 Nov 2017
Posts: 10
Location: India

PostPosted: Wed Jan 10, 2018 3:57 pm
Reply with quote

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
View user's profile Send private message
raghuraman123

New User


Joined: 09 Nov 2017
Posts: 10
Location: India

PostPosted: Wed Jan 10, 2018 4:25 pm
Reply with quote

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
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2455
Location: Hampshire, UK

PostPosted: Wed Jan 10, 2018 7:31 pm
Reply with quote

What does the Syncsort manual say about DFSORT?

Edit: sorry - DFSPARM.
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1742
Location: Tirupur, India

PostPosted: Thu Jan 11, 2018 12:24 am
Reply with quote

Quote:
What does the Syncsort manual say about DFSORT?

"Don't use DFSORT!" icon_smile.gif
Back to top
View user's profile Send private message
raghuraman123

New User


Joined: 09 Nov 2017
Posts: 10
Location: India

PostPosted: Thu Jan 11, 2018 1:37 pm
Reply with quote

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
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2455
Location: Hampshire, UK

PostPosted: Thu Jan 11, 2018 5:05 pm
Reply with quote

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
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1353
Location: Israel

PostPosted: Thu Jan 11, 2018 6:39 pm
Reply with quote

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
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 -> SYNCSORT

 


Similar Topics
Topic Forum Replies
No new posts RC query -Time column CA Products 3
No new posts Dynamically pass table name to a sele... DB2 2
No new posts Query on edit primary command CLIST & REXX 5
No new posts Query on edit primary command CLIST & REXX 1
No new posts Option DYNALLOC second parameter. DFSORT/ICETOOL 11
Search our Forums:

Back to Top