Page 1 of 1

Chance to close a file that was originally opened as output

PostPosted: Thu Nov 20, 2008 12:14 pm
by kaikid
Hello everybody!
I have a simple question:

In PL/I: Is there any chance to close a file that was originally opened as output (and written), and after closing it, reopen it as an INPUT FILE in order to PRINT the records?

Thanks in advanced!

Re: Chance to close a file that was originally opened as output

PostPosted: Fri Nov 21, 2008 6:45 am
by dick scherrer
Hello,

I don't speak pl/i, but in other languages, a file that has been opened may be closed then re-opened.

The commands/verbs are often CLOSE and OPEN. An "open" positions to the beginning of the file.