Convert WPS and DX files to other formats. Syntax PMDF DCF input-file-spec output-file-spec Positional Qualifiers Defaults /FORMAT=type See text
1 – Restrictions
o This utility is available only for OpenVMS VAX. o This utility is available only with the PMDF-MR optional layered product, must be explicitly built by the PMDF system. manager, (see the PMDF System Manager's Guide), and is only intended for internal use by the PMDF-MR channels. o The file extensions of the input and output files are not user selectable.
2 – Prompts
Input file: input-file-spec Output file: output-file-spec
3 – Parameters
input-file-spec The name of an input file to convert. The format of the file must be specified with a positional /FORMAT qualifier. The file extension of the input file must match the specified format (see the /FORMAT qualifier description for details). output-file-spec The name of an output file to create. The format of the output file is selected with the /FORMAT positional qualifier. The file extension of the output file must match the specified format (see the /FORMAT qualifier description for details).
4 – Description
The DCF utility is used by PMDF-MR to convert WPS and DX message bodyparts to ASCII. This facility is built from document conversion software supplied as part of the MRGATE kit (version 3.1 or 3.2), the Message Router VMS MAIL gateway. PMDF-MR will function without this utility but it will be unable to convert WPS and DX bodyparts to ASCII.
5 – Positional Qualifiers
5.1 /FORMAT
/FORMAT=type This positional qualifier must be given for both the input and output file specifications. The allowable types are ASCII, DX, and WPSFILE. The file extension of the input and output file must be given and they must agree with the selected format: for ASCII files the file extension must be .TXT, for DX files the file extension must be .DX, and for WPSFILE files the extension must be .WPL. Failure to use the proper extension will result in unpredictable results.
6 – Examples
The following command may be used to convert a WPS-PLUS file to an ordinary text format: $ PMDF DCF koala.wpl/FORMAT=WPSFILE mrsdd.txt/FORMAT=ASCII All special text attributes (e.g., bold, underlined, etc.), are lost in the conversion from WPS-PLUS to ASCII.