PMDF System Manager's Guide


Previous Next Contents Index

38.5.9 Getting Files To and From the Import/Export Utility

Whenever the cc:Mail master channel program runs, its output file is written in a format that is suitable for use by the cc:Mail Import utility. These files must be transferred to the cc:Mail system where the Import utility must be run to import the messages contained in the files.

When the cc:Mail slave channel program runs, it reads a file produced on the cc:Mail system by exporting the contents of the cc:Mail post office associated with PMDF. This file will be read and the messages it contains will be forwarded on to the recipients. Errors are handled by writing error messages out as mail; these messages will then pass through the cc:Mail master channel program and back into cc:Mail. The cc:Mail slave channel program also reads the "undeliverable messages file" produced by the cc:Mail Import utility if the name is specified by the CC_UNDEL_FILE_NAME option.

The cc:Mail channel programs simply produce and read files; they are not responsible for transferring files to a place where the cc:Mail Import/Export utility can operate on them. Usually some form of network transport is used to accomplish this task. See Section 38.3 for more information on file transfers. Files transferred across the network must be copied as images; use a binary transfer mode if it is available. On OpenVMS, PMDF reads exported cc:Mail files using block I/O and does not care what file attributes are set.

It is recommended that at all times you use the FILES/HEX option of the cc:Mail Import/Export utility. This is mandatory when dealing with binary files such as file attachments. Also use the FORMAT/FAN option for Export if foreign alias names are used in cc:Mail.


Previous Next Contents Index