IBM Support

Message CPF2973 During CPYFRMTAP

Troubleshooting


Problem

Running the CPYFRMTAP command results in the following message: CPF2973 - Data from file QSYSTAP in QSYS truncated to 32766 characters.

Resolving The Problem

When running the CPYFRMTAP command from a tape that was created with a SAVxxx command, the following messages are issued:

CPF2973 - Data from file QSYSTAP in QSYS truncated to 32766 characters.
CPF4911 - The received data length is greater than specified.

When trying to use the file with CPYTOTAP, it fails.

This occurs because the save was performed specifying USEOPTBLK(*YES).

To allow the CPYFRMTAP and CPYTOTAP to work, specify *NO for the USEOPTBLK parameter on the SAVxxx command.

[{"Type":"MASTER","Line of Business":{"code":"LOB68","label":"Power HW"},"Business Unit":{"code":"BU070","label":"IBM Infrastructure"},"Product":{"code":"SWG60","label":"IBM i"},"ARM Category":[{"code":"a8m0z0000000CMjAAM","label":"Tape"}],"ARM Case Number":"","Platform":[{"code":"PF012","label":"IBM i"}],"Version":"6.1.0;7.1.0;7.2.0;7.3.0;7.4.0;7.5.0;7.6.0"}]

Historical Number

414477607

Document Information

Modified date:
16 September 2025

UID

nas8N1014963