Can the large file be split into two or more smaller files? One way to split is
https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.1.0/com.ibm.zos.v2r1.iceg200/ice2cg_Splitting.htm
Then sort the smaller files and merge the sorted files. Sort will only merge from two DDs at
a time. Depending on how many small files are created multiple merges or an application program will be needed if the process needs to merge all the sorted split files in one pass.
The merge process may be able to be done differently if the smaller files can be created with INCLUDE criteria to make each small file a unique group like year, subscriber number ranges, etc. If grouping can be done, you may be able to concatenate the files during the merge.
Alan
________________________________
From: Jesse 1 Robinson <***@SCE.COM>
Sent: Saturday, June 9, 2018 10:51
To: IBM-***@LISTSERV.UA.EDU
Subject: Re: SORTLIB DD
In one failing job, we get
ICE046A E SORT CAPACITY EXCEEDED - RECORD COUNT 41,235,203
ICE046A E SORT CAPACITY EXCEEDED - RECORD COUNT 41,235,203
ICE253I 0 RECORDS SORTED - PROCESSED: 41,235,203, EXPECTED: 310,580,760 <== note very high expectation
As to how much DASD space is available, I have no idea. Not a storage guy.
Virtual memory is whatever it is at z/OS 2.1.
User tried tape sort but had the job cancelled after 24 hours. Unfortunately canceler apparently purged job as well, so nothing to look at.
As for why specify SORTLIB DD: DFSORT requires it. Job will not run without it.
.
.
J.O.Skip Robinson
Southern California Edison Company
Electric Dragon Team Paddler
SHARE MVS Program Co-Manager
323-715-0595 Mobile
626-543-6132 Office ⇐=== NEW
***@sce.com
-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-***@LISTSERV.UA.EDU] On Behalf Of R.S.
Sent: Friday, June 08, 2018 2:33 AM
To: IBM-***@LISTSERV.UA.EDU
Subject: (External):Re: SORTLIB DD
Let me ask again:
What is the size of input data?
How much space do you have for temp datasets?
How much memory can the job use?
BTW: While sortworks on tape can be justified in case of lack of DASD space, I still see no reason to specify SORTLIB DD.
--
Radoslaw Skorupka
Lodz, Poland
Post by Jesse 1 RobinsonLet me reiterate. The problem job tries to allocate more DASD work space than *exists* on the system. SORTIN is on tape--multiple files. We have the capability of putting more volumes online temporarily, but this is a major PITA and requires intervention from the Storage boys. I'm hoping that tape SORTWK will get the user over the occasional hump for this ad hoc non-production job. It does not have to perform well. It just has to work.
.
.
J.O.Skip Robinson
Southern California Edison Company
Electric Dragon Team Paddler
SHARE MVS Program Co-Manager
323-715-0595 Mobile
626-543-6132 Office ⇐=== NEW
-----Original Message-----
Sent: Thursday, June 07, 2018 2:49 AM
Subject: (External):Re: SORTLIB DD
Get rid of SORTLIB DD
Get rid of SORTWKnn DD
Use dynamic sortwork datasets, optionally set the number of datasets via OPTION DYNALLOC Don't use tapes for sortwork
What is a size of input data?
How much space do you have for temp datasets?
How much memory can the job use?
My €0.02
--
Radoslaw Skorupka
Lodz, Poland
Post by Jesse 1 RobinsonWe have a DFSORT job that wolfs down enormous amounts of SORTWK space. It has been exceeding the DASD capacity on the system where it runs, so we advised the user to point SORTWK to tape instead of DASD. Now it fails with
IEC130I SORTLIB DD STATEMENT MISSING
IEF472I CIHM373 STEP010 CIHM373 - COMPLETION CODE - SYSTEM=000 USER=0063
IBM doc indicates the need for SORTLIB with a 'tape sort'. We have no working example to share with the user. My question: what should DD SORTLIB point to? SMPE puts load modules into
SYS1.SORTLIB
SYS1.SICELINK
Should the user specify only the first one or both? I hate to drag them into a sysprog guessing game.
.
.
J.O.Skip Robinson
Southern California Edison Company
Electric Dragon Team Paddler
SHARE MVS Program Co-Manager
323-715-0595 Mobile
626-543-6132 Office <===== NEW
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to ***@listserv.ua.edu with the message: INFO IBM-MAIN
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to ***@listserv.ua.edu with the message: INFO IBM-MAIN