Copy text from/to the active screen buffer
The ScreenCopy tag will copy the text at fromRow and fromColumn in the active screen buffer or Session Scratch Area to the location described by toRow, toColumn for length.
If you are working with attribute-based protocols (3270, 5250), remember to include any attribute bytes (to give bolding, for example). A list of attribute bytes may be found in the Map Tag section
Attributes:
Attribute |
Default / Required |
Description |
fromRow |
1 |
Copy FROM Row number (1..maximum rows), or -1..-maximum. If row number is negative, the text is copied from the scratch area rather than the active screen. |
fromColumn |
1 |
From Column number (1..maximum columns) |
toRow |
2 |
Copy TO Row number (1..maximum rows), or -1..-maximum. If row number is negative, the text is copied to the scratch area rather than the active screen. |
toColumn |
2 |
To Column |
length |
2 |
Length of text to copy |
ScreenCopy has no children.
Example:
<IfScreen row="12" column="21" text="bozo">
<ScreenCopy fromRow="12" fromColumn="31" toRow="13" |
toColumn="30" length="10""/> |
</IfScreen>