Re: Sorting SMF records
"halfmeg" <[email protected]> Sat, 04 Sep 2010 12:01:51 -0000
| Newsgroups | gmane.comp.emulators.turnkey-mvs |
|---|---|
| Message-ID | <[email protected]> |
> dennis_stone2001 wrote: ><snip> > I have used the following JCL to sort dumped SMF data on MVS 3.8 > using the OS/360 sort utility, no special mods or anything. My sort > work devices are 2314's. Hope this helps! ><snip> > //SORT EXEC PGM=SORT,REGION=4096K PARM='MSG=AP' ><snip> The core size used by OS/360 Sort, included with TK3, was specified when the SORT utility was generated. Between TK2 and TK3 the size was upped to 256K. DIAG can be added to the PARM to determine what amount of core you are utilizing for the sort. Like so: //SORT EXEC PGM=SORT,REGION=4096K PARM='MSG=AP,DIAG' Even though REGION is 4096K, SORT output tells us how much it uses in the DIAG section. IER963I - MAX. SYSGEN CORE - 262144 IER964I - CALC. CORE PH 1 = 261990 IER964I - CALC. CORE PH 2 = 259744 IER964I - CALC. CORE PH 3 = 244089 Even without adding DIAG to the PARM the JES2 SYSOUT indicates just over 256K was used: See VIRT size below of 272K. IEF374I STEP /SORT / STOP 10247.1218 CPU 0MIN 00.21SEC SRB 0MIN 00.03SEC VIRT 272K SYS 200K If instead we override the default SORT core size, like so: //SORT EXEC PGM=SORT,REGION=4096K PARM='MSG=AP,CORE=4194304,DIAG' to utilize the full amount of the 4096K region, we see. IER963I - MAX. SYSGEN CORE - 4194304 IER964I - CALC. CORE PH 1 = 4194206 IER964I - CALC. CORE PH 2 = 259744 IER964I - CALC. CORE PH 3 = 244089 The JES2 SYSOUT below now shows VIRT size of 4100K for the step. IEF374I STEP /SORT / STOP 10247.1219 CPU 0MIN 00.23SEC SRB 0MIN 00.02SEC VIRT 4100K SYS 212K The above tests were performed using the JCL in SYS2.JCLLIB(TESTSORT) which includes it's own test data to sort. From a 2001 post concerning SORT (Hercules 2.13 utilized): "Below are 3 runs of sort against the same data. Results in Min:Sec (10 Byte sort field, 500,000 Records, 80 Bytes long) SORTSML used the defaults genned of 64K. Elapsed time 4:02 SORTMED used core and region size of 512K. Elapsed time 2:19 SORTBIG used core and region size of 1700K. Elapsed time 1:46" More info in the post http://tech.groups.yahoo.com/group/hercules-390/message/16976 Phil - YMMV