Home > Archive > Cobol > August 2004 > how to avoid Abend D37 during close
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
how to avoid Abend D37 during close
|
|
| Juergen Spiekermann 2004-08-23, 3:55 pm |
| 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
| |
|
|
"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)
| |
| Robert Wagner 2004-08-23, 8:55 pm |
| 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.
|
|
|
|
|