Document revision date: 19 July 1999 | |
Previous | Contents | Index |
The Text output converter converts the intermediate representation of the input file to a Text output file. The following list summarizes the data mapping and conversion restrictions relevant to the Text output converter.
The PostScript output converter converts the intermediate representation of the input file to a PostScript output file. The following list summarizes the data mapping and conversion restrictions relevant to the PostScript output converter.
You can create an options file prior to specifying the CONVERT/DOCUMENT command with the /OPTIONS qualifier. An options file is a text file with a default file type of .CDA$OPTIONS on the operating system.
The options file contains all the processing options for your input file format and your output file format. Processing options help ensure minimal changes when your input file is converted to a different output file format.
An options file is not required. Default processing options are applied automatically when you convert a file. However, you may require an options file if you need to use other than the default settings.
Use the following guidelines to create an options file:
The following example is a typical entry in an options file:
PS PAPER_HEIGHT 10 |
In this example, the extension _OUTPUT is not required for the format keyword, since PostScript is available only as an output format. The value specified for PAPER_HEIGHT is in inches by default.
If the options file includes options that do not apply to the converters for a particular conversion, those options are ignored.
If you specify an invalid option for an input or output format or an invalid value for an option, you receive an error message. The processing options described in the following sections document any restrictions.
Processing Options for Analysis Output
The Analysis output converter supports the following options:
! *** Bit-mapped data not displayed here *** |
Processing Options for Text Output
The Text output converter supports the following options:
The PostScript output converter supports the following options:
Keyword | Size |
---|---|
A0 | 841 x 1189 millimeters (33.13 x 46.85 inches) |
A1 | 594 x 841 millimeters (23.40 x 33.13 inches) |
A2 | 420 x 594 millimeters (16.55 x 23.40 inches) |
A3 | 297 x 420 millimeters (11.70 x 16.55 inches) |
A4 | 210 x 297 millimeters (8.27 x 11.70 inches) |
A | 8.5 x 11 inches |
B | 11 x 17 inches |
C | 17 x 22 inches |
D | 22 x 34 inches |
E | 34 x 44 inches |
LEDGER | 11 x 17 inches |
LEGAL | 8.5 x 14 inches |
LETTER | 8.5 x 11 inches |
LP | 13.7 x 11 inches |
VT | 8 x 5 inches |
Keyword | Meaning |
---|---|
PORTRAIT | The page is oriented so that the larger dimension is parallel to the vertical axis. |
LANDSCAPE | The page is oriented so that the larger dimension is parallel to the horizontal axis. |
You might create an options file containing processing options that apply to any CDA supported tabular file format for which there is an input converter. Data tables and spreadsheets are examples of tabular file formats.
To convert tabular input files to document output files, use the DTIF_TO_DDIF format name, followed by the processing options described in this section. Specify the DTIF_TO_DDIF processing options in addition to the processing options for a particular tabular input file format and a particular document output file format.
You might want to convert tabular input files to document output files so that you can include textual representations of tables in reports and other documents. You should be aware, however, that you lose cell borders, headers, grid lines, all formulas, and font types when converting a tabular input file to a document output file.
The domain converter supports the following options:
Keyword | Size |
---|---|
A0 | 841 x 1189 millimeters (33.13 x 46.85 inches) |
A1 | 594 x 841 millimeters (23.40 x 33.13 inches) |
A2 | 420 x 594 millimeters (16.55 x 23.40 inches) |
A3 | 297 x 420 millimeters (11.70 x 16.55 inches) |
A4 | 210 x 297 millimeters (8.27 x 11.70 inches) |
A5 | 148 x 210 millimeters (5.83 x 8.27 inches) |
A | 8.5 x 11 inches (216 x 279 millimeters) |
B | 11 x 17 inches (279 x 432 millimeters) |
B4 | 250 x 353 millimeters (9.84 x 13.90 inches) |
B5 | 176 x 250 millimeters (6.93 x 9.84 inches) |
C | 17 x 22 inches (432 x 559 millimeters) |
C4 | 229 x 324 millimeters (9.01 x 12.76 inches) |
C5 | 162 x 229 millimeters (6.38 x 9.02 inches) |
D | 22 x 34 inches (559 x 864 millimeters) |
DL | 110 x 220 millimeters (4.33 x 8.66 inches) |
E | 34 x 44 inches (864 x 1118 millimeters) |
10x13_ENVELOPE | 13 x 254 millimeters (15600 x 10 inches) |
9x12_ENVELOPE | 12 x 229 millimeters (14400 x 9 inches) |
BUSINESS_ENVELOPE | 9.5 x 105 millimeters (11400 x 4.13 inches) |
EXECUTIVE | 10 x 191 millimeters (12000 x 7.5 inches) |
LEDGER | 11 x 17 inches (279 x 432 millimeters) |
LEGAL | 8.5 x 14 inches (216 x 356 millimeters) |
LETTER | 8.5 x 11 inches (216 x 279 millimeters) |
LP | 13.7 x 11 inches (348 x 279 millimeters) |
VT | 8 x 5 inches (203 x 127 millimeters) |
Keyword | Meaning |
---|---|
PORTRAIT | The page is oriented so that the larger dimension is parallel to the vertical axis. |
LANDSCAPE | The page is oriented so that the larger dimension is parallel to the horizontal axis. |
$ CONVERT/DOCUMENT/OPTIONS=MY_OPTIONS.CDA$OPTIONS - _$MY_INPUT.DTIF/FORMAT=DTIF MY_OUTPUT.DDIF/FORMAT=DDIF |
This command converts an input file named MY_INPUT.DTIF, which has the DTIF format, to an output file named MY_OUTPUT.DDIF, which has the DDIF format. The specified options file is named MY_OPTIONS.CDA$OPTIONS.
Invokes the Convert/Reclaim utility, which makes empty buckets in Prolog 3 indexed files available so that new records can be written in them. The /RECLAIM qualifier is required.For more information about the Convert/Reclaim utility, refer to the OpenVMS Record Management Utilities Reference Manual or online help.
CONVERT/RECLAIM filespec
Creates a new file from one or more existing files. The COPY command can do the following:
- Copy an input file to an output file.
- Concatenate two or more input files into a single output file.
- Copy a group of input files to a group of output files.
COPY input-filespec[,...] output-filespec
input-filespec[,...]
Specifies the name of an existing file to be copied. The asterisk (*) and the percent sign (%) wildcard characters are allowed. If you do not specify the device or directory, the COPY command uses your current default device and directory. If you specify more than one file, separate the file specifications with either commas (,) or plus signs (+).output-filespec
Specifies the name of the output file into which the input is copied.You must specify at least one field in the output file specification. If you do not specify the device or directory, the COPY command uses your current default device and directory. The COPY command replaces any other missing fields (file name, file type, version number) with the corresponding field of the input file specification. If you specify more than one input file, the COPY command generally uses the fields from the first input file to determine any missing fields in the output file.
You can use the asterisk (*) wildcard character in place of any two of the following: the file name, the file type, or the version number. The COPY command uses the corresponding field in the related input file to name the output file.
The COPY command creates a new file from one or more existing files. If you do not specify the device or directory, the COPY command uses your current default device and directory. The COPY command can do the following:
- Copy an input file to an output file.
- Concatenate two or more input files into a single output file.
- Copy a group of input files to a group of output files.
The COPY command, by default, creates a single output file. When you specify more than one input file, the first input file is copied to the output file, and each subsequent input file is appended to the end of the output file. If a field of the output file specification is missing or contains an asterisk (*) wildcard character, the COPY command uses the corresponding field from the first, or only, input file to name the output file.
If you specify multiple input files with maximum record lengths, the COPY command gives the output file the maximum record length of the first input file. If the COPY command encounters a record in a subsequent input file that is longer than the maximum record length of the output file, it issues a message noting the incompatible file attributes and begins copying the next file.
To create multiple output files, specify multiple input files and use at least one of the following:
- An asterisk (*) wildcard character in the output directory specification, file name, file type, or version number field
- Only a node name, a device name, or a directory specification as the output file specification
- The /NOCONCATENATE qualifier
When the COPY command creates multiple output files, it uses the corresponding field from each input file in the output file name. You also can use the asterisk (*) wildcard character in the output file specification to have COPY create more than one output file. For example:
$ COPY A.A;1, B.B;1 *.CThis COPY command creates the files A.C;1 and B.C;1 in the current default directory. When you specify multiple input and output files you can use the /LOG qualifier to verify that the files were copied as you intended.
Note that there are special considerations for using the COPY command with DECwindows compound documents. For more information, refer to the Guide to OpenVMS File Applications.
If you do not specify version numbers for input and output files, the COPY command (by default) assigns a version number to the output files that is either of the following:
- The version number of the input file
- A version number one greater than the highest version number of an existing file with the same file name and file type
When you specify the output file version number by an asterisk (*) wildcard character, the COPY command uses the version numbers of the associated input files as the version numbers of the output files.
If you specify the output file version number by an explicit version number, the COPY command uses that number for the output file specification. If a higher version of the output file exists, the COPY command issues a warning message and copies the file. If an equal version of the output file exists, the COPY command issues a message and does not copy the input file.
File Protection and Creation/Revision Dates
The COPY command considers an output file to be new when you specify any portion of the output file name explicitly. The COPY command sets the creation date for a new file to the current time and date.
If you specify the output file by one or more asterisk (*) and percent sign (%) wildcard characters, the COPY command uses the creation date of the input file.
The COPY command always sets the revision date of the output file to the current time and date; it sets the backup date to zero. The file system assigns the output file a new expiration date. (The file system sets expiration dates if retention is enabled; otherwise, it sets expiration dates to zero.)
The protection and access control list (ACL) of the output file is determined by the following parameters, in the following order:
- Protection of previously existing versions of the output file
- Default Protection and ACL of the output directory
- Process default file protection
(Note that the BACKUP command takes the creation and revision dates as well as the file protection from the input file.)
Previous Next Contents Index
privacy and legal statement 9996PRO_006.HTML