A file's open data path (ODP) cannot be shared with any other program in the job (routing step) during the copy operation.Also, the default for the TOMBR parameter is *FROMMBR, which causes from-file members to be copied to like-named to-file members. Note that the default for the MBROPT parameter is *REPLACE (unlike other copy commands), which clears existing records in the receiving member of the to-file before replacing them with records copied from the from-file. This command offers a subset of the parameters available on the CPYF command. This command does not create the to-file, but it does add a member to an existing physical file if the member does not already exist in the to-file. The to-file must exist when the CPYSRCF command is started. Many members are copied and listed in alphabetical order. From-file members can be copied to like-named to-file members or to a single to-file member. One member, all members, or a generic set of members can be copied each time the command is called. Other differences in record formats (like that of the FMTOPT(*NOCHK) parameter option on the CPYF command) are disregarded.įor more information on DDM files, see the Distributed Data Management information in the iSeries Information Center at. Record data is copied from the from-file to the to-file, converting character data from the from-file CCSID to the to-file CCSID. Any overrides issued for the from-file or to-file apply to the files used in the copy operation. If TOFILE(*PRINT) is specified, a formatted printer file is created by using the IBM-supplied printer file QSYSPRT (the file is changed for source records and is different from other copy command file formats). The Copy Source File (CPYSRCF) command copies a database source file or DDM file to a source physical file or DDM file and converts the character data from the from-file CCSID to the to-file CCSID. Where allowed to run: All environments (*ALL)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
March 2023
Categories |