Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

how to avoid Abend D37 during close
Hello,
I have the following problem on VSII COBOL on OS390.

When writing a sequential file (BLKSIZE=0,RECFM=FB,LRECL=80) it happens
that the close statement causes an abend D37 due to limited space
defined in th DD-Statement in the JCL.

Whereas evaluating the FILE STATUS after the WRITE statement works well
it does not work when closing. It seems that the last write statement
(to the buffer) works well, but the close statement afterwards causes
the abend (probably when physically writing the pending data).

Is there any way to avoid this abend?

Greetings Juergen


Report this thread to moderator Post Follow-up to this message
Old Post
Juergen Spiekermann
08-23-04 08:55 PM


Re: how to avoid Abend D37 during close
"Juergen Spiekermann" <Juergen.Spiekermann@t-online.de> a écrit dans le
message de news:cgd7tv$qj1$1@news.sdm.de...
> Hello,
> I have the following problem on VSII COBOL on OS390.
>
> When writing a sequential file (BLKSIZE=0,RECFM=FB,LRECL=80) it happens
> that the close statement causes an abend D37 due to limited space
> defined in th DD-Statement in the JCL.

and what about the SPACE STATEMENT : SPACE=(CYL,(10,2)),DISP=(NEW,
CATLG,DELETE)


Report this thread to moderator Post Follow-up to this message
Old Post
x.ray
08-23-04 08:55 PM


Re: how to avoid Abend D37 during close
On Mon, 23 Aug 2004 19:01:50 +0200, Juergen Spiekermann
<Juergen.Spiekermann@t-online.de> wrote:

>Hello,
>I have the following problem on VSII COBOL on OS390.
>
>When writing a sequential file (BLKSIZE=0,RECFM=FB,LRECL=80) it happens
>that the close statement causes an abend D37 due to limited space
>defined in th DD-Statement in the JCL.
>
>Whereas evaluating the FILE STATUS after the WRITE statement works well
>it does not work when closing. It seems that the last write statement
>(to the buffer) works well, but the close statement afterwards causes
>the abend (probably when physically writing the pending data).
>
>Is there any way to avoid this abend?

Delete the SPACE clause, let ACS manage space .. assuming you have
SMS.

Report this thread to moderator Post Follow-up to this message
Old Post
Robert Wagner
08-24-04 01:55 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Cobol archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 04:42 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.