The CPYPWL command in TURNOVER® for iSeries v100 is used to copy an entire Programmer Worklist (PWL), including all its items, metadata, and associations. It’s a brilliant way to clone a worklist for reuse across projects, developers, or training environments without manually rebuilding it.

CPYPWL Copy Programmers Worklist 1

What CPYPWL Does

This command:

  • Creates a new worklist by duplicating an existing one

  • Copies all worklist items, including object names, types, actions, and sequences

  • Preserves links to forms, tasks, and requests (if specified)

  • Allows reassignment to a different programmer, project, or release

  • Supports both interactive and batch processing

It’s the command-line equivalent of using option 3=Copy on the Work with Programmer Worklists panel.

Typical Parameters

ParameterDescription
FROMPWLName of the existing worklist to copy
TOPWLName of the new worklist to create
DESCRIPTIONDescription for the new worklist
PROGRAMMERID of the programmer to assign the new worklist to
PROJECTOptional project ID to associate with the new worklist
RELEASEOptional release/version ID
COPYITEMSWhether to copy the items (*YES or *NO)
STATUSInitial status of the new worklist (*OPEN, *STARTED, etc.)

You can also use *SAME for fields you want to retain from the original worklist.

{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}
>