Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
Louielee ,
Taken from QW -
Quote:
vol count
Specifies the maximum number of volumes that an OUTPUT data
set requires. This is a decimal number in the range 1
through 255, inclusive - the total number of output volumes
for a DD statement may not exceed 4,096 volumes, however.
You should code this parameter when an output data set will
require more than 6 volumes. If the volume count is omitted
or 1 through 5 is specified, the maximum allowed is 5
volumes. If 6 through 20 is specified, the maximum allowed
is 20 volumes. If the specified is greater than 20, the
maximum allowed is a multiple of 15 plus 5, up to 255.
Please refer quick refernce for this kind of stuff.
Does your site have SMS? maybe you can remove the space parameter and just allow the system to set the space automatically.
I'm not sure but I think it's not necessary to have all the SORTWKNN there... I think 1 sortwk will be just fine... (BTW, in our site, we can run SYNCSORT and not define SORTWKNN)
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
Louielee ,
Please remember you will get error if the system fails to allocates the space you had defined. From your JCL, I could see you had used 4000 for primary and secondary for 12 dd statements. Are sure you have that much space available in DASD. Reduce the 4000 to number 1000 and below. Do some permutation and combination excercise (with the numbers) to get the job successful.
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
I would guess that you space abend occurs on the SORTOUT DD name, so as previously said, I am not sure that you need any SORTWK DD statements in your JCL when you use COPY.
you cant browse the contents of a tape file,but you can know the space occupied by the files using the below TSO Command
TSO TIQ -enter on the command line ,will prompt for the password
Passsword===inquire
enter the tape vol ser for the file (which you can identify using 3.4 option)which will display the volume occupied and all other related information for the same.
enter 'C' to exit the tape inquiry,but your system should support the same.
Try putting UNIT=(SYSDA,20) . SEE HOW THAT GOES..........
If that it is still the same increase the number specified with sysda...
by the way i wud request u to slash down the records and put to dasd if possible ....is there a strict requirement for using all the records in the tape??
if u r using the data set as a test input then i think anyway u will have to use the external sort before putting accross the records to the test region .
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
Hello,
Please post the actual number of records on the tape(s) and the actual lrecl if fixed or the average lrecl if variable.
If you cannot get the record counts from your tape management system, you can get them using the sort (do not sort the records, just count them).
Once you post the numbers, we can help with size estimates.
Just to get you thinking, you may need to "partition" the input file into multiple smaller files, sort the smaller files, and then merge them into the actual file you need (writing it back out on tape if necessary).
give tdisc / <jobid>
eg: tdisc / fmet06 tmb.sample.file
infront of the tape file...
that tape file will be extracted to the the local test area as the prefix
eg: tng.tmb.sample.file