Code Comments
Programming Forum and web based access to our favorite programming groups.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
Post Follow-up to this message"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)
Post Follow-up to this messageOn 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.
Post Follow-up to this messagePowered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.