Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Copy From PC Document (CPYFRMPCD) command copies the data in a PC document to a system database file.
Note: Do not precede an entry with an asterisk unless that entry is a "special value" that is shown (on the display itself or in the help information) with an asterisk.
*ESCAPE Messages
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
FROMFLR | From folder | Character value | Required, Positional 1 |
TOFILE | To file | Qualified object name | Required, Positional 2 |
Qualifier 1: To file | Name | ||
Qualifier 2: Library | Name, *LIBL, *CURLIB | ||
FROMDOC | From document | Character value | Required, Positional 3 |
TOMBR | To member | Name, *FIRST, *FROMDOC | Optional, Positional 4 |
MBROPT | Replace or add records | *REPLACE, *ADD | Optional, Positional 5 |
TRNTBL | Translate table | Single values: *DFT, *NONE Other values: Qualified object name |
Optional |
Qualifier 1: Translate table | Name | ||
Qualifier 2: Library | Name, *LIBL, *CURLIB | ||
TRNFMT | Format of PC data | *TEXT, *NOTEXT | Optional |
TRNIGC | DBCS code page | *DFT, *JPN, *CHT, *BG5, *CHS, *KOR, *KSC, *SCGS, *NONE | Optional |
IGCSOSI | Insert DBCS SO/SI | *YES, *NO | Optional |
Top |
Specifies the name of a folder containing the PC document that is copied. This parameter can also specify the name of a folder path in the form:
The path name can be up to 63 characters in length.
This is a required parameter.
Top |
Specifies the name and library of the physical database file that you are copying the PC document to.
If this file is a source file and you choose to translate the PC document, a sequence number is added and a system date of zeroes is added as it is copied to the file.
This is a required parameter.
The possible library values are:
Top |
Specifies the name of the PC document that is copied. The name has the following format:
The filename can be from 1 to 8 characters, and the extension can be from 1 to 3 characters. The extension is not required.
This is a required parameter.
Top |
Specifies the name of the member to contain the copied PC document. If no member is specified, the first member of the file is the member that is copied to. If the member does not exist, it is created.
Top |
Specifies if the copied records are added to or replace the existing records in the physical file.
Top |
Specifies if translation is performed and, if so, the name of the translation table used to translate the data from ASCII to EBCDIC.
Note: For a user defined double-byte character set, this parameter also specifies if translation is performed and, if so, which translation table is used for single-byte translation.
The possible library values are:
Top |
Specifies the format of the records in the PC document.
This parameter is not valid if *NONE is specified on the Translate table prompt (TRNTBL parameter).
Top |
Specifies the double-byte character set used for translation. Unless overridden by the Translate table prompt (TRNTBL parameter), this parameter also specifies the single-byte translation table.
Top |
Specifies if shift-out and shift-in characters are inserted during translation. This parameter is valid only for double-byte character set users. This parameter is not valid if *NONE is specified on the Translate table prompt (TRNTBL parameter).
Top |
Top |
*ESCAPE Messages
Top |