COPYSTATUS


9.1A

 

The COPYSTATUS instruction retrieves the current status of an active Enhanced Mode COPYFILE operation. This instruction returns the number of blocks required to complete the transfer. The instruction uses the following format:

 

 

[label]

COPYSTATUS

{retcount]

 

Where:

label

Optional. A Program Execution Label.

retcount

Optional. A Numeric Variable that returns the number of blocks required to complete the transfer.

Flags Affected: ZERO,OVER

Note the following:

  1. The ZERO flag is set when an enhanced COPYFILE operation is active.

  2. The OVER flag is set when the block count that is stored into the {retcount} variable is too large for the variable.

 

 

See Also: Example Code, System Interface Instructions

 



PL/B Language Reference COPYNEXT EVENTINFO