VMS Help  —  PMDF  CONVERT
    Convert a file.

    Syntax

      CONVERT  input-file output-file

    Command Qualifiers             Defaults

    /CHECKSUM                      /NOCHECKSUM
    /DEBUG                         /NODEBUG
    /FTYPE=type                    See text
    /FCREATOR=creator              See text
    /FDL=fdl-spec                  None
    /LINE_LENGTH=value             /LINE_LENGTH=0
    /MPARAMETERS=param-list        See text
    /MSUBTYPE=type                 See text

    Positional Qualifiers          Defaults

    /CHARSET=charset               None
    /ENCODING=encoding             None
    /FILENAME=name                 /NOFILENAME
    /HEADER                        /NOHEADER
    /MODE=mode                     None
    /PARAMETERS=param-list         None
    /SUBTYPE=subtype               None
    /TYPE=type                     None

1  –  Restrictions

    None.

2  –  Parameters

 input-file[,...]

    A comma separated list of one or more text files to be converted.
    All specified input files are read and merged into a single
    output file.

 output-file

    The name of the output file to write.

3  –  Description

    CONVERT is a utility to convert files from one format to another.

4  –  Command Qualifiers

4.1    /CHARSET

       /CHARSET=charset

    Specify the character set for the part.

4.2    /CHECKSUM

       /CHECKSUM
       /NOCHECKSUM (default)

4.3    /DEBUG

       /DEBUG
       /NODEBUG (default)

    Control whether or not to display debug output.

4.4    /ENCODING

       /ENCODING=encoding

    Specify the encoding used for the part.

4.5    /FILENAME

       /FILENAME=name
       /NOFILENAME (default)

    Specify a file name to include in the MIME labelling.

4.6    /FTYPE

       /FTYPE=type

4.7    /FCREATOR

       /FCREATOR=creator

4.8    /FDL

       /FDL=fdl-spec

4.9    /HEADER

       /HEADER
       /NOHEADER (default)

    Specify whether MIME headers are present or should be written
    to the part. The default is /NOHEADER, MIME headers are neither
    looked for nor generated.

4.10    /LINE_LENGTH

       /LINE_LENGTH=value

4.11    /MODE

       /MODE=mode

    Specify the conversion mode. The mode value may be any of
    CRATTRIBUTE, LFATTRIBUTE, CRLFATTRIBUTE, BLOCK, RECORD, TEXT,
    POSTSCRIPT, ENRICHED, FLOWED, HTML, DOUBLEAPPLE, SINGLEAPPLE,
    BINHEX, or VIRUSSCAN.

4.12    /MPARAMETERS

       /MPARAMETERS=param-list

4.13    /MSUBTYPE

       /MSUBTYPE=type

4.14    /PARAMETERS

       /PARAMETERS=param-list

4.15    /SUBTYPE

       /SUBTYPE=subtype

    Specify the MIME subtype.

4.16    /TYPE

       /TYPE=type

    Specify the MIME type.

5  –  Examples

    1.$ PMDF CONVERT A.MACB/MODE=MACBINARY A.SINGLE/MODE=SINGLE

      The command above is an example of converting a file from
      Macbinary format to Applesingle format; that is, this is an
      example of extracting just the data fork from the Macbinary
      format file.
Close Help