UDM - IBM i Copying Source Physical Files

IBM i Copying Source Physical Files

Source physical files can be copied in both text and binary mode.

There are three possible copy operations involving source physical files:

  1. Like Copies of Source Physical File Data
  2. Non-Source Physical to Source Physical Copies
  3. Source Physical to Non-Source Physical Copies

Like Copies of Source Physical File Data

IBM i to IBM i copy: both the source and destination are source physical files.

In this case, if the sequence and date fields are not stripped from the source, this data is written as is to the destination. If the fields are stripped, the SEQSTART and SEQINCR attributes define how the sequence data is generated (described later in this section) and the current date is placed in the date field.

Non-Source Physical to Source Physical Copies

Non-source physical file is the source and a source physical file is the destination.

In this case, the SECSTART and SEQINCR attributes are used to create the sequence number and the date field is seeding with the current date.

Source Physical to Non-Source Physical Copies

Source records are read and formatted as described above and the destination system writes them out as dictated by its attributes.