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
 

 

SAS Code abend with RC 08- 'File is full and may be damaged&

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging
View previous topic :: :: View next topic  
Author Message
Subbulakshmi yogesh

New User


Joined: 28 Sep 2011
Posts: 8
Location: india

PostPosted: Fri Oct 11, 2013 12:58 pm    Post subject: SAS Code abend with RC 08- 'File is full and may be damaged&
Reply with quote

I am try to run a SAS code to read an input file and do a process filteration and create an output.
my input file is with 50 LRECL ~16 million records volume. My output file is 40 LRECL and expect some 1 million records out. The SAS work i mention around 8000.

//STEP01 EXEC SASV9,REGION=0M
//SAS.WORK DD SPACE=(CYL,(8000,8000),RLSE)

But i am getting the below error.
ERROR: Write to SASDATASET.DATA failed. File is full and may be damaged.

i just tried increasing the SAS workspace and also gave the REGION parameter. But still my job is failing. Can anyone suggest me to solve this abending SAS step. we can create a permanent dataset for the intermediate SAS step, but i m bit worried about the DASD allocation. Is there any other option to rectify this.
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Fri Oct 11, 2013 1:05 pm    Post subject:
Reply with quote

What exactly is this filtration process ?

You may find that your SORT product may do exactly the same thing as your SAS code.

Unless you give us some usefull information all we can do is sit here and ignore your problem.

Unless your WORK dataset is allocated a special STORCLAS and/or DATACLAS such a large space allocation may well be ignored and set to s pecific default. This is entirely site dependant so we can not help with that aspect of the problem. I would try (CYL,(1000,1000)),VOL=(,,,5)

Please show the code that you are using and the error messages issued in full. Also any IEC error messages that may have been displayed.

SO - you give us the information requested and we may be able to help you.

And on a purely technical point, the job DID NOT ABEND RC 08, it merely issued a return code 8 from the SAS step.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2422
Location: Netherlands, Amstelveen

PostPosted: Fri Oct 11, 2013 1:53 pm    Post subject:
Reply with quote

As far as i can see, it is not your WORK dataset but your SASDATASET dataset (your final destination) that is too small. So define a new target dataset.
Back to top
View user's profile Send private message
Subbulakshmi yogesh

New User


Joined: 28 Sep 2011
Posts: 8
Location: india

PostPosted: Fri Oct 11, 2013 3:00 pm    Post subject:
Reply with quote

i got my issue resolved. i created the SAS dataset as,

DATA _Null_;

as i dont need to set this data anywhere. this job completed fine. thanks for all your points.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Fri Oct 11, 2013 3:05 pm    Post subject:
Reply with quote

Peter,

You may well be right, but usually the error message is DDNAME.SASDATASET.DATA and I for one also thought that it may have been the destination dataset.

But as nearly always only incomplete information is given leaving us to guess and offer possibly unsuitable solutions, wasting our time.

So until we get some real information from the OP we can't really do too much else apart from the usual ..... 12.gif
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2422
Location: Netherlands, Amstelveen

PostPosted: Fri Oct 11, 2013 3:25 pm    Post subject:
Reply with quote

Hello expat,

if a libname is used the allocation is dynamic. SAS only displays the libref name in this case SASDATASET and the name of the library member.

For the rest of your comment im with you.
Back to top
View user's profile Send private message
Subbulakshmi yogesh

New User


Joined: 28 Sep 2011
Posts: 8
Location: india

PostPosted: Fri Oct 11, 2013 3:50 pm    Post subject:
Reply with quote

SORRY. maybe i didnt illustrate the problem clearly. Actually my work dataset is set with some specific default allocation. As my input file exceed that limit i m getting the FILE is full message.

i just tried allocating a permanent dataset and assign that to the SAS dataset it work. but actually i dont want to do that way.

i just solved my problem with _NULL_ which process the datasets with the actual DATASET creation.

expat,

my filtration includes a process of comparing the date in the input file with the SAS TRANSPOSE option and it cant be achieved with SORT.
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 -> ABENDS & Debugging All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts PL/I code tuning/Performance improvement Virendra Shambharkar PL/I & Assembler 4 Mon Dec 05, 2016 11:57 am
No new posts What is the code in CLIST to enable t... jackzhang75 CLIST & REXX 1 Fri Dec 02, 2016 3:02 am
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts IDEAL - Code Retrieval yugendran CA Products 0 Fri Nov 25, 2016 3:27 pm
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm


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