CONVERT transforms M routines in the sequential format, described by the MDC, into individual RMS source files for use by GT.M. Use CONVERT to make MRO format files accessible as GT.M routines.
The format of the CONVERT command is:
CO[NVERT] [/qualifier] file-spec directory-spec
CONVERT takes its input from the file defined by the file-specification. CONVERT places the output files in the directory defined by the directory-specification. CONVERT uses the routine name and an ".M" extension as the output file name for each routine.
Because OpenVMS uses the percent (%) character as a wildcard, CONVERT places any routine name starting with % to a file-name starting with the under-bar (_) character. CONVERT transforms all white space at the beginning of a routine line into a single tab character.
<CTRL-C> or <CTRL-Y> terminates CONVERT. Files converted before the termination are usable.
CONVERT takes only one qualifier:
/F[ORMAT]=RO
Specifies the format of the input file. The RO (Routine Output) format code is the default and the only code CONVERT recognizes.