Date: Mon, 7 Jun 2004 14:06:59 -0400
Reply-To: harry.droogendyk@RBC.COM
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Harry Droogendyk <harry.droogendyk@RBC.COM>
Subject: Re: MVS SAS B37-04 code
Content-Type: text/plain; charset=iso-8859-1
As far as I remember, MVS only checks that it has room for the primary space
requested ( e.g. 1000 ) when the data set is allocated. As your job runs,
the primary allocation is consumed, MVS attempts to add another secondary
extent and doesn't find the room, so it poops out.
By the next time you run it, the volume has more freespace ( e.g. you or
other folks remove data sets ) and it runs. When it does run successfully,
take note of the TOTAL space required for the data set, i.e. primary plus
ALL secondary extents. Change your job to request at least that much as a
PRIMARY extent and your troubles will be greatly diminished.
-----Original Message-----
From: amulya [mailto:amulya_k25@YAHOO.CO.IN]
Sent: Monday, June 07, 2004 1:46 PM
To: SAS-L@LISTSERV.UGA.EDU
Subject: MVS SAS B37-04 code
Hi,
I run a MVS job everyday which creates the following SAS output
dataset. The dataset is SMS managed.
EXAMPLE DD DSN=XYZ(+1),DISP=(NEW,CATLG,DELETE),
VOL=SER=TEST1,UNIT=SYSDA,
DCB=(GDG,BLKSIZE=0,DSORG=PS),SPACE=(0,(1000,500),RLSE)
On most days this job runs ruccessfully but at times it fails due to
space problems. for example, recently this job ended up with the
following SAS error and abended with MVS code B37-04.
'Write to XYZ.SAV.DATA failed. File is full and may be damaged'
When I ran it the second time it went through seccessfully(I didn't
change any parameters). Any thoughts on why it abended the first time
and what can be done to avoid this error in the future. Any
suggestions/advice on this matter will be much appreciated.
Thanks
Amulya
------------------------------------------------------------
This e-mail may be privileged and/or confidential, and the sender does not waive any related rights and obligations. Any distribution, use or copying of this e-mail or the information it contains by other than an intended recipient is unauthorized. If you received this e-mail in error, please advise me (by return e-mail or otherwise) immediately.
Ce courrier électronique est confidentiel et protégé. L'expéditeur ne renonce pas aux droits et obligations qui s'y rapportent. Toute diffusion, utilisation ou copie de ce message ou des renseignements qu'il contient par une personne autre que le (les) destinataire(s) désigné(s) est interdite. Si vous recevez ce courrier électronique par erreur, veuillez m'en aviser immédiatement, par retour de courrier électronique ou par un autre moyen.
============================================================