View previous topic :: View next topic
|
Author |
Message |
SMRAJAESWARI
New User
Joined: 07 Jul 2005 Posts: 10
|
|
|
|
Hello friends,
pls let me know the answer for these questions.
1) does condition variables take storage space?
eg: 05 ws-flag pic x.
88 are-there-more-recs value 'y'.
88 no-more-recs value 'n'.
2.what happens when an empty data-set is read?
Regards,
Rajaeswari. |
|
Back to top |
|
|
prakash271082
New User
Joined: 09 Sep 2005 Posts: 53
|
|
|
|
Hi,
1. Yes, it does occupy certain storage space. Wherever you have PIC clause, it occupies some space.
2. FILE-STATUS code would be 10 in he very beginning, if you come to trap it and accordingly your messsage would be displayed.
Hope this helps. |
|
Back to top |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
Hi Rajaeswari,
1) The 88s don't occupy space; the 05 does.
2) It depends on what kind of "empty" the file assumes. If the file was open and closed successfully for output even if no recs were written, the file will return a "10" status.
If the file was never successfully opened and closed for output, no EOF marker was generated for the file. This will cause any future opens for input to fail. |
|
Back to top |
|
|
|