The FMS/TRANSLATE command converts a Form Language source file to a binary file. The Form Language is similar in semantics to the Form Editor and produces an equivalent output file. The FMS/DESCRIPTION/FULL command performs the reverse operation and generates a Form Language source file from a form file. The default input file type is FLG, and the default output file type is FRM. Example: FMS/TRANSLATE/LIST SOMEFORM.FLG The output form file SOMEFORM.FRM and a listing file SOMEFORM.LIS are produced.
1 – Qualifiers
1.1 /ERROR_LIMIT
/ERROR_LIMIT=n Specifies the number of errors at which translation should be stopped. Legal values are between 0 and 255. The default value is 20.
1.2 /LIST
/LIST=file_spec /NOLIST Creates an output listing showing the input file, coordinate positions, and compilation statistics. If the file specification is not provided, the output file name is the input file name, with the file type LIS. The /NOLIST qualifier disables listing output. The default depends on the current mode of the process. If the mode is interactive, the default is /NOLIST; if the mode is batch, the default is /LIST.
1.3 /MESSAGE
Use FMS/TRANSLATE/WARNINGS instead of FMS/TRANSLATE/MESSAGE. See FMS/TRANSLATE/WARNINGS for help.
1.4 /OUTPUT
/OUTPUT=file_spec (D) /NOOUTPUT The /OUTPUT qualifier allows you to specify a name for the output form file. The /NOOUTPUT qualifier causes output to be discarded.
1.5 /WARNINGS
/WARNINGS=severity Specifies the severity level of messages to be output by the Form Language Translator. Possible values are: ALL, INFORMATIONAL, WARNING, and ERROR in that order. Each message level includes that level and higher levels. The value ALL can be used in place of INFORMATIONAL. FMS/TRANSLATE/WARNINGS replaces FMS/TRANSLATE/MESSAGE. Example: FMS/TRANSLATE/WARNINGS=ERROR SOMEFORM The Form Language file SOMEFORM.FRM is translated, no WARNING or INFORMATIONAL messages are output. ERROR and SEVERE messages are output.