Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Why allocated sort work is more than i specified?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
lisen

New User


Joined: 25 Feb 2009
Posts: 3
Location: China DL

PostPosted: Wed Feb 25, 2009 12:59 pm    Post subject: Why allocated sort work is more than i specified?
Reply with quote

Code:

//SORT1 EXEC DCPSORT,SP=50
//SORTIN DD DSN=&&OS03AC2,DISP=(OLD,DELETE)
//SORTOUT DD DSN=&&SORT01,DISP=(,PASS),
// UNIT=(DISK2,3),
// DCB=(RECFM=VBS,LRECL=430,BLKSIZE=27998),
// SPACE=(CYL,(50,50),RLSE)
//SYSIN DD *
  OPTION SORTINS=1
  SORT FIELDS=(5,6,CH,A)
  RECORD TYPE=F,LENGTH=(424)
/*


after submit it, the log shows like this:
Code:

VPW//PRT010 DD SYSOUT=*,DCB=(RECFM=VBA)
1 OPTION SORTINS=1
SORT FIELDS=(5,6,CH,A)
RECORD TYPE=F,LENGTH=(424)
0 * PHASE 1 INPUT 1,460,756
DELETE 0
USED 1,460,756
* PHASE 3 SUMMARY 0
OUTPUT 1,460,756
VPW//PRT011 DD SYSOUT=*,DCB=(RECFM=VBA)
1ICE143I 0 BLOCKSET SORT TECHNIQUE SELECTED
ICE250I 0 VISIT http://www.ibm.com/storage/dfsort FOR DFSORT PAPERS, EXAMPLES AND MORE
ICE000I 0 - CONTROL STATEMENTS FOR 5694-A01, Z/OS DFSORT V1R5 - 01:54 ON WED FEB 25, 2009 -
0 SORT FIELDS=(5,6,CH,A)
RECORD TYPE=F,LENGTH=(424)
ICE201I E RECORD TYPE IS F - DATA STARTS IN POSITION 1
ICE118I 0 UNKNOWN FILE SIZE - FILSZ=EN MAY IMPROVE RESOURCE USAGE AND PERFORMANCE
ICE751I 0 C5-K26318 C6-K90007 C7-K90000 C8-K23476 E4-K90007 C9-BASE E5-K31980 E7-K24705
ICE193I 0 ICEAM2 ENVIRONMENT IN EFFECT - ICEAM2 INSTALLATION MODULE SELECTED
ICE089I 1 OS03E020.SORT1 .A , INPUT LRECL = 424, TYPE = F
ICE093I 0 MAIN STORAGE = (MAX,6291456,6291456)
ICE156I 0 MAIN STORAGE ABOVE 16MB = (6133592,6133592)
ICE127I 0 OPTIONS: OVFLO=RC0 ,PAD=RC0 ,TRUNC=RC0 ,SPANINC=RC16,VLSCMP=N,SZERO=Y,RESET=Y,VSAMEMT=Y,DYNSPC=32
ICE128I 0 OPTIONS: SIZE=6291456,MAXLIM=2097152,MINLIM=450560,EQUALS=Y,LIST=Y,ERET=ABEND,MSGDDN=SYSOUT
ICE129I 0 OPTIONS: VIO=N,RESDNT=ALL ,SMF=FULL ,WRKSEC=Y,OUTSEC=Y,VERIFY=N,CHALT=N,DYNALOC=N ,ABCODE=MSG
ICE130I 0 OPTIONS: RESALL=4096,RESINV=0,SVC=109 ,CHECK=Y,WRKREL=Y,OUTREL=Y,CKPT=N,STIMER=Y,COBEXIT=COB2
ICE131I 0 OPTIONS: TMAXLIM=6291456,ARESALL=0,ARESINV=0,OVERRGN=16384,CINV=Y,CFW=Y,DSA=0
ICE132I 0 OPTIONS: VLSHRT=N,ZDPRINT=N,IEXIT=N,TEXIT=N,LISTX=N,EFS=NONE ,EXITCK=S,PARMDDN=DFSPARM ,FSZEST=N
ICE133I 0 OPTIONS: HIPRMAX=8 ,DSPSIZE=MAX ,ODMAXBF=0,SOLRF=Y,VLLONG=N,VSAMIO=N,MOSIZE=MAX
ICE235I 0 OPTIONS: NULLOUT=RC0
ICE750I 0 DC 0 TC 0 CS DSVVV KSZ 10 VSZ 10
ICE752I 0 FSZ=0 RE IGN=0 C AVG=428 0 WSP=0 E DYN=0 0
ICE751I 1 DE-K24705 D5-K24705 D3-K24705 D7-K24705 E8-K24705
ICE091I 0 OUTPUT LRECL = 424, TYPE = F
ICE055I 0 INSERT 1460756, DELETE 1460756
ICE054I 0 RECORDS - IN: 0, OUT: 0
ICE134I 0 NUMBER OF BYTES SORTED: 619360544
ICE165I 0 TOTAL WORK DATA SET TRACKS ALLOCATED: 16980 , TRACKS USED: 16890
ICE199I 0 MEMORY OBJECT STORAGE USED = 0M BYTES
ICE180I 0 HIPERSPACE STORAGE USED = 8176K BYTES
ICE188I 0 DATA SPACE STORAGE USED = 0K BYTES
ICE052I 0 END OF DFSORT


the TOTAL WORK DATA SET TRACKS ALLOCATED is 16980, but my specfy is SP=50(MAX ALLOCATE TRACKS=50*8*15=6000).

So why above issue occured?
Back to top
View user's profile Send private message

PeD

Active User


Joined: 26 Nov 2005
Posts: 456
Location: Belgium

PostPosted: Wed Feb 25, 2009 1:14 pm    Post subject:
Reply with quote

There is difference between SORTOUT and the "WORK" SPACE allocated and used, no?

But I also trust DFSORT and never raised that kind of question. I have too much work beside icon_smile.gif
Back to top
View user's profile Send private message
lisen

New User


Joined: 25 Feb 2009
Posts: 3
Location: China DL

PostPosted: Wed Feb 25, 2009 1:25 pm    Post subject:
Reply with quote

Thx for your reply.
But the SP=* parameter is used for the sort work allocate, as below shows:
Code:

//DCPSORT PROC SP='10,10',SOUT='*',REG=2048K                           
//*                                                                     
//*       DCP UTILITY ----- SORT/MERGE OF COMPRESSION FILE             
//*                                                                     
//*           SYSIN CONTROL CARD STATEMENT                             
//*                   OPTION SORTINS=1                                 
//*                   SORT FIELDS=(N,N,CH,A)    (SAME AS NEWSORT)       
//*                   RECORD TYPE=F,LENGTH=(X)  (LOGICAL LENGTH)       
//*                                                                     
//*           IF MULTI SORTIN EXIST THEN DO                             
//*                   OPTION SORTINS=N ----- NO. OF SORTINXX           
//*                 //  EXEC DCPSORT                                   
//*                 //SORTIN01 DD DSN=-----                             
//*                 //SORTIN02 DD DSN=-----                             
//*                 //SORTIN03 DD DSN=-----                             
//*                 //SORTOUT  DD DSN=-----                             
//*                 //SYSIN    DD *                                     
//*                   OPTION SORTINS=N ----- NO. OF SORTINXX           
//*                                                                     
//*                 WHERE   NN        -----  MAX 16                     
//A       EXEC PGM=SORTX,REGION=&REG                                   
//STEPLIB  DD  DSN=DCP.DCPLIB,DISP=SHR          /* DCP LIBRARY */       
//SYSPRINT DD  SYSOUT=*                                                 
//SYSOUT   DD  SYSOUT=&SOUT                                             
//SORTIN01 DD  DDNAME=SORTIN                                           
//SORTWK01 DD  UNIT=DISK2,SPACE=(CYL,(&SP))                             
//SORTWK02 DD  UNIT=DISK2,SPACE=(CYL,(&SP))                             
//SORTWK03 DD  UNIT=DISK2,SPACE=(CYL,(&SP))                             
//SORTWK04 DD  UNIT=DISK2,SPACE=(CYL,(&SP))                             
//SORTWK05 DD  UNIT=DISK2,SPACE=(CYL,(&SP))                             
//SORTWK06 DD  UNIT=DISK2,SPACE=(CYL,(&SP))                             
//SORTWK07 DD  UNIT=DISK2,SPACE=(CYL,(&SP))                             
//SORTWK08 DD  UNIT=DISK2,SPACE=(CYL,(&SP))                             
//B       EXEC PGM=IEFBR14                                             


SP default sets to '10,10', and it will allocate 8 times.
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1703
Location: Australia

PostPosted: Wed Feb 25, 2009 3:45 pm    Post subject:
Reply with quote

Hi,

10,10 cyls equates to a max of 160 cyls * 8 = 1280 cyls

1280 cyls * 15 = 19200 tracks



Gerry
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Moderator


Joined: 15 Feb 2005
Posts: 7130
Location: San Jose, CA

PostPosted: Wed Feb 25, 2009 9:45 pm    Post subject:
Reply with quote

lisen,

You forgot about the secondary tracks.

You have WRKSEC=YES in effect, so DFSORT uses a secondary equal to 25% of the primary. Thus the allocation would be CYL,(50,12) which allows for more than the 6000 tracks you calculated. The 16980 tracks DFSORT calculated it needed is actually less than the maximum tracks that could have been allocated.
Back to top
View user's profile Send private message
lisen

New User


Joined: 25 Feb 2009
Posts: 3
Location: China DL

PostPosted: Thu Feb 26, 2009 10:25 am    Post subject:
Reply with quote

Oh,
i see, thx a lot! icon_lol.gif
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 -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Release quantity that was allocated v... Auryn JCL & VSAM 5 Thu May 18, 2017 6:02 pm
No new posts How to change 'K' or 'M' use Sort vice_versa DFSORT/ICETOOL 5 Thu May 18, 2017 7:11 am
No new posts Fileaid 2 commands instream work. In ... descann Compuware & Other Tools 2 Tue May 16, 2017 3:31 pm
No new posts Adding big TEXT lines to each record ... bshkris SYNCSORT 4 Sat May 06, 2017 1:40 am
This topic is locked: you cannot edit posts or make replies. SORT trick needed bshkris SYNCSORT 6 Tue May 02, 2017 4:35 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us