The CPYTSTDTA command in TURNOVER® for iSeries v100 is used to copy test data from a development or test environment into a production file, a controlled way to seed or refresh production datasets using validated test records. It’s especially useful when promoting new applications, initializing production files, or synchronizing environments.
What CPYTSTDTA Does
This command:
Copies data records from a source file (typically in a test library) to a target production file
Ensures the file formats match before copying
Can be scoped to specific records, members, or conditions
Logs the operation for audit and rollback purposes
Supports both interactive and batch execution
It’s a safer alternative to using CPYF manually, as it integrates with TURNOVER’s change management and promotion workflows.

