Use the FUP COPY command to move data one record at a time. COPY allows you to copy part of a file, and to copy records to and from devices other than disks,including tape drives, printers, and terminals. COPY also allows you to change file types by copying a file of one type into a target file of a different type. Use the FUP LOAD command to move data into a structured file. Data is transferred one record at a time from the source file and moved one block at a time into the destination file. The LOAD command has these advantages: • Loading files does not affect alternate-key values.Because data is written a block at a time, • LOAD is faster than COPY.
Chat with our AI personalities