ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

CPYMLTF - Copy Multiple PF's to a single PF

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • CPYMLTF - Copy Multiple PF's to a single PF

    This comes from www.support.changefit.com (source can be downloaded there if one registers. Registration is free.)

    This command will copy multiple physical files (tables) with multiple members (partitions) to a single physical file. One can optionally choose from which libraries (schema) as well as the from and to members.
    Important:
    1. If the to-file does not exist, it will be created.
    2. If the to-file, or a logical file (index) built over the file, has a unique key (primary index), the duplicate records will be ignored.
    3. Format option of *NOCHK is used. i.e. the data is copied without checking the validity of the contents.
    4. If a from-file is empty, the command will issue a message and continue with the next file.

    Objects created to v510. Tested from v520 thru v540.

    Contents of ZIP file is a savf containing the CMD and the CLLE. Hope you will find it useful.
    Attached Files
    Last edited by kitvb1; April 26, 2008, 09:43 AM. Reason: added 'to-' to point 2, 'from-' to point 4, and version info
    Regards

    Kit
    http://www.ecofitonline.com
    DeskfIT - ChangefIT - XrefIT
    ___________________________________
    There are only 3 kinds of people -
    Those that can count and those that can't.
Working...
X