
B-63943EN-2/01 6.MACRO EXECUTOR FUNCTION
- 243 -
6.13.4 Error Messages
The following table lists the error messages that may be displayed
when the user file is set up.
Message Description
FILE AREA TOO LARGE A specified user file size is greater than the
maximum size that can be set up.
FILE AREA TOO SMALL The relationship between the user file area size
and the number of files that can be generated
in the user file area does not satisfy the
condition stated in item 2 above.
6.13.5 List of Commands
Generating a file
Function This command generates a file.
Format FGEN (file-number, file-size, status-variable-number)
Explanation The <file-number> parameter numbers a file to be
generated. The file is accessed using this number. See
Table 6.13.6 (a) for the values that can be used as file
numbers.
The <file-size> parameter specifies the size of a file to be
generated. The unit of the size is bytes.
The <status-variable-number> parameter specifies the
macro variable number to which the execution result of the
command is returned. The user must check this value. See
Table 6.13.6 (e) for the status values.
Sample
statement
FGEN (200,120,100)
This statement generates a file that is numbered 200 and is
120 bytes large. The result of executing the statement is
returned to macro variable #100.
Deleting a file
Function This command deletes a file.
Format FDEL (file-number, status-variable number)
Explanation The <file-number> parameter specifies a file to be deleted.
See Table 6.13.6 (a) for the values that can be used as file
numbers.
The <status-variable-number> parameter specifies the
macro variable number to which the execution result of the
command is returned. The user must check this value.
See Table 6.13.6 (e) for the status values.
Caution A file that is open cannot be deleted.
Sample
statement
FDEL (200,100)
This statement deletes file No. 200. The result of executing
the statement is returned to macro variable #100.