FILEXP Prepare File for Transfer via the Internet

FILEXP file1 [, file2] [, PAM]

File Export. The input file (file1) will be converted to a transparent format. The output file (Fcbtype=SAM, Recform=V) will consist of records less than 256 bytes long, and which consist only of printable characters and numbers. This file can then be transferred in text mode with any file transfer product to a host on any platform, and can then be sent via the Internet to any partner, either via FTP, or as an e-mail attachment.

file1 Name of the input file.

file2 Name of the output file (export file).

If no name is specified, the default name of CFS.EXPORT.FILE will be used.

PAM Only relevant when converting from SAM or ISAM files. The input file will be read by PAM blocks, and not logically, i.e. record by record. This enables defective files to be prepared for transmission.

Notes:

The export file is approximately twice as big as the original file. If the file is transferred to a PC platform (Windows/NT), it is recommended that the file be compressed prior to onward transmission. If a compression package such as PKZip is used to create a self-extracting EXE file, compression rates down to 25% or below can be achieved. This compressed file can then be transferred in binary mode to the required partner.

The export file will contain all information required to reconstruct the original file, including, for example, the original file attributes and, if applicable, the contents of the PAM keys.