For Programmers: Free Programming Magazines  


Home > Archive > Cobol > July 2005 > Re: Called Module with File Access - where to 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 Re: Called Module with File Access - where to Close
Richard

2005-07-25, 10:01 pm

> something feels inherently wrong about not closing a resource

Just CANCEL the program. ANS85 specifies that a CLOSE will be issued
for the file.

William M. Klein

2005-07-25, 10:01 pm

Assuming the file does NOT have the "EXTERNAL" attribute. CANCEL does not close
files with EXTERNAL attribute.

--
Bill Klein
wmklein <at> ix.netcom.com
"Richard" <riplin@Azonic.co.nz> wrote in message
news:1122058571.015687.133640@z14g2000cwz.googlegroups.com...
>
> Just CANCEL the program. ANS85 specifies that a CLOSE will be issued
> for the file.
>



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com