ISSUE COPY (3270 logical)

Copy data from 3270 logical unit.

ISSUE COPY (3270 logical)

Read syntax diagramSkip visual syntax diagramISSUE COPYTERMID( name)CTLCHAR( data-value)WAIT

Conditions: LENGERR, NOTALLOC, TERMERR

 

Description

ISSUE COPY copies the format and data contained in the buffer of a specified terminal into the buffer of the terminal that started the transaction. Both terminals must be attached to the same remote control unit.

Options

CTLCHAR(data-value)
specifies a 1-byte copy control character (CCC) that defines the copy function. A COBOL user must specify a data area containing this character. If the option is omitted, the contents of the entire buffer (including nulls) are copied.
TERMID(name)
specifies the name (1–4 characters) of the terminal whose buffer is to be copied. The terminal must have been defined in the TCT.
WAIT
specifies that processing of the command must be completed before any subsequent processing is attempted.

If the WAIT option is not specified, control is returned to the application program once processing of the command has started. A subsequent input or output request (terminal control, BMS, or batch data interchange) to the terminal associated with the task causes the application program to wait until the previous request has been completed.

Conditions

22 LENGERR
occurs if an out-of-range value is supplied.

Default action: terminate the task abnormally.

61 NOTALLOC
occurs if the facility specified in the command is not owned by the application.

Default action: terminate the task abnormally.

81 TERMERR
occurs for a terminal-related error.

A CANCEL TASK request by a user node error program (NEP) may cause this condition if the task has an outstanding terminal control request active when the node abnormal condition program handles the session error.

Default action: terminate the task abnormally with abend code ATNI.