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

Close with disp ?
I was converting a 35 year old OS Cobol program to
Enterprise Cobol today. All the CLOSE statements in
this program had CLOSE file-name WITH DISP. I don't
happen to have a 35 year old manual and this is not
valid for Enterprise Cobol. Does anyone remember
what CLOSE WITH DISP was supposed to do?



Report this thread to moderator Post Follow-up to this message
Old Post
Ron S
04-05-04 11:30 PM


Re: Close with disp ?
Page 443 of the OS/VS COBOL program says that "CLOSE WITH DISP" means to use
whatever is on the DISP parameter of the JCL - so it sounds like you can jus
t
remove it and things should work "as expected".

--
Bill Klein
wmklein <at> ix.netcom.com
"Ron S" <SpamStopper@NoSpam.Org> wrote in message
news:kPidnT8JnsQ3TuzdRVn_vQ@giganews.com...
> I was converting a 35 year old OS Cobol program to
> Enterprise Cobol today. All the CLOSE statements in
> this program had CLOSE file-name WITH DISP. I don't
> happen to have a 35 year old manual and this is not
>  valid for Enterprise Cobol. Does anyone remember
> what CLOSE WITH DISP was supposed to do?
>
>



Report this thread to moderator Post Follow-up to this message
Old Post
William M. Klein
04-06-04 12:30 AM


Re: Close with disp ?
> Page 443 of the OS/VS COBOL program says that "CLOSE WITH DISP" means to use
> whatever is on the DISP parameter of the JCL - so it sounds like you can j
ust
> remove it and things should work "as expected".
>

Thanks. I did remove it and all was well but I was just curious as to what i
ts
purpose was years ago. Not much, it would seem.



Report this thread to moderator Post Follow-up to this message
Old Post
Ron S
04-06-04 03:30 AM


Re: Close with disp ?
Ron S wrote: 
>
>
> Thanks. I did remove it and all was well but I was just curious as to what
 its
> purpose was years ago. Not much, it would seem.
>
>

As a PS to that, it is too bad that some of those old tape methods left
Cobol.  They would work very well for things like CD"s and DVD's on a
PC, for example. With properly working label records and mount dismount
close commands, someone could actually do proper backup of data without
leaving Cobol. The Rewritable DVD is quite a neat device.  I think it
will be arround for a while, at least as a prototype.

Donald


Report this thread to moderator Post Follow-up to this message
Old Post
Donald Tees
04-10-04 11:30 AM


Re: Close with disp ?
Ron S wrote: 
>
>
> Thanks. I did remove it and all was well but I was just curious as to what
 its
> purpose was years ago. Not much, it would seem.
>
>
A wag ... close with rewind vs close with dismount type of thing at the
JCL level?

Donald


Report this thread to moderator Post Follow-up to this message
Old Post
Donald Tees
04-10-04 06:30 PM


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 02:09 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.