Previous Topic: Syntax DiagramNext Topic: YCPYLIBLST (Copy Library List)


Parameters

Parameter

Definition

Value and Description

FROMPFX

Prefix part of the file name; and is replaced by the TOPFX value in the name of the copied version of the file

  • *NONE: (default) No prefix is used
  • Character, up to three digits

TOPFX

Prefix that replaces the FROMPFX value in the name of the copied files

  • *NONE: (default) Copied file names are to be the same as the file names
  • Character, up to three digits, no imbedded blanks

FROMLIB

Library containing copied files

  • *LST: (default) Use library name or names given by the list entry for each file
  • *LIBL: Use library list to find ‘from’ file

TOLIB

Copies are placed in the library. If copies already exist in the ‘to’ library their contents are replaced. If copies do not exist in the ‘to’ library they are created

  • *FROMLIB: (default) Same as value specified by FROMLIB parameter
  • *LST: Use library name or names given by the list entry for each file

DBFLST

Qualified name of a database file list that specifies the names of the copied files

  • QTEMP/TEMPLST: (default) List name

JRN

The journal name used after the copy is made, if the file specified by the TOFILE parameter already exists as journal

  • *NONE: Do not restart journal
  • The following special value can be specified for the journal name:
  • *LST: Use journal named for file in list
  • The following special values can be specified for the journal library name:
  • *TOLIB: (default) Journal library is the same as that specified for the TOLIB parameter
  • *LST: Use the journal library named for file in the database list
  • Journaling is restarted if the file was already processed

IMAGES

Nature of journaling

  • *LST: (default) Before or after images are kept according to the value specified for file in database list
  • *BOTH: Before and after images are kept
  • *AFTER: Only after images are kept

NBRRCDS

Number of records to copy

*END: (default) Copy until end of file

FMTOPT

Format mapping option used when copying to existing files

  • *NONE: (default) Formats must match in both files
  • *NOCHK: Copy even if formats do not match
  • *MAP: If formats differ map fields by name
  • *DROP: If formats differ drop fields which cannot be mapped