|
PRAGMA PROGRAM REFERENCE MANUAL
|
Index
|
All Operation
|
|
Expand All ADDENDUM
|
FILE STATUS
|
FST
|
Standard Noun
|
Noun
|
Target =
|
Used by the verbs that perform file operations (external and regular). It contains a numeric status of the most recent file operation. This status tells you whether or not the file operation completed properly. Both FILE STATUS and EXTERNAL ECHO are set after file operations, and either may be checked. FILE STATUS, since it contains numeric values, is language independent.
|
DISPLAY the value FILE STATUS
|
SEE ALSO: EXTERNAL ECHO / IPC STATUS
|
The noun FILE STATUS (FST) contains a numeric status after all file operations (except those using mock internal emulation; mockflag = 1).
Both FILE STATUS and EXTERNAL ECHO are set after file operations, and either may be checked. FILE STATUS, since it contains numeric values, is language independent; whereas EXTERNAL ECHO contains text which is different for each country. If EXTERNAL ECHO is used, the verb is dependent upon the file status messages selected in PRAGMA.DES.
These are the possible values of FILE STATUS :
OK 0 record not found 1 duplicate reference 2 conflict 3 file is locked 4 queue is empty 5 queue is locked 6 prepare to stop 7 NO SUCH FILE 8 REFERENCE TOO LONG 9 MORE NOUNS IN LOCAL FILE 10 FEWER NOUNS IN LOCAL FILE 11 NO SUCH QUEUE 12 NO RESPONSE RECEIVED 13 EXTERNAL DISC IS FULL 14 TRANSMISSION ERROR 15 INTERNAL LOGIC ERROR 16 UNKNOWN EXTERNAL ECHO? 17
BTRIEVE
If you are using BTRIEVE as filemanager and the result of a fileoperation is INTERNAL LOGIC ERROR for the EXTERNAL ECHO, the FILE STATUS will contain the BTRIEVE error number. This is to help to trace BTRIEVE errors.
|
|
|
CustomWare® is a registered trademark of CustomWare Designs, Inc. All rights reserved.
CustomWare® is a registered servicemark of CustomWare Designs, Inc. All rights reserved.
All images and designs on this web site are copyrighted© 2021.
v
t
|
|