View previous topic :: View next topic |
Author |
Message |
Subzero Beginner
Joined: 02 Dec 2002 Posts: 19 Topics: 7 Location: Chennai, India
|
Posted: Mon May 12, 2003 5:24 am Post subject: FD Section Declaration |
|
|
Hi
Can anyone explain me the differences between input and output file declaration (FD) in File section in COBOL?
Thanks in Advance,
Subzero |
|
Back to top |
|
 |
Subzero Beginner
Joined: 02 Dec 2002 Posts: 19 Topics: 7 Location: Chennai, India
|
Posted: Mon May 12, 2003 10:00 am Post subject: |
|
|
I meant to ask whether we can differentiate between an input or output file by looking at FD section.
Thanks in Advance,
Subzero |
|
Back to top |
|
 |
CaptBill Beginner
Joined: 02 Dec 2002 Posts: 100 Topics: 2 Location: Pasadena, California, USA
|
Posted: Mon May 12, 2003 12:31 pm Post subject: |
|
|
Looking at the FD, no. You would have to look at the OPEN statements to really know for sure. Then if you have any OPEN I-O files, you would have to look to see how that was used. Just because it is I-O, does not mean it is written. You have to look at the PROCEDURE DIVISION to be sure. |
|
Back to top |
|
 |
|
|