30.06.2013 Views

File Management - IBM

File Management - IBM

File Management - IBM

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

copied from the from-file to the to-file, disregarding differences in record<br />

formats (similar to the FMTOPT(*NOCHK) parameter option on the CPYF<br />

command, except for the CCSIDs.)<br />

CPYFRMQRYF<br />

Copy from Query <strong>File</strong> copies an open query file to a database or device<br />

file.<br />

The system does not reclaim DDM conversations for a job when a copy command<br />

produces an error.<br />

Note: In releases prior to Version 3 Release 2, copy errors caused the Reclaim<br />

Resources (RCLRSC) command to run, which also ran the Reclaim<br />

Distributed Data <strong>Management</strong> Conversations (RCLDDMCNV) command.<br />

Although the RCLRSC command still runs, it no longer runs the<br />

RCLDDMCNV command when a copy error occurs.<br />

If you specify a DDM file and a local file on the CPYF or CRYSRCF commands,<br />

the system does not verify that the remote and local files are not the same file on<br />

the source system. If you specify one DDM file, you can potentially copy to and<br />

from the same file.<br />

For information on how to copy DBCS-open fields to graphic fields (including the<br />

option of removing trailing single-byte blanks for the DBCS-open field first), see<br />

“DBCS-graphic fields using FMTOPT(*MAP) or FMTOPT(*NOCHK)” on page 115.<br />

Throughout this topic, unless the text specifies a specific command, the term copy<br />

commands refers to all the commands just described.<br />

The device and database files where you can perform copy operations are shown<br />

in Table 9.<br />

Table 9. Copy Operations<br />

From-<strong>File</strong>s To-<strong>File</strong>s<br />

DDM DDM<br />

Diskette 1<br />

Diskette 1<br />

Logical Physical 2<br />

Open Query 3<br />

Printer<br />

Physical *PRINT 4<br />

Inline Data 5<br />

Tape<br />

Tape<br />

Chapter 4. Copying files 71

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!