GDDM V3R2 Base Application Programming Reference
Previous topic | Next topic | Contents | Index | Contact z/OS | Library | PDF | BOOK


Character string

GDDM V3R2 Base Application Programming Reference
SC33-0868-02



The Character String order corresponds to the GSCHAR and GSCHAP calls.


 Fld
 len
 Content
                  
 Meaning
                                               
 1
     
 X'C3' or X'83'
                  
 Character String order code or Character
 String (at current position) order code
 1  LEN  Length of following data
 *
     
 x0
                  
 x coordinate at which character string is to
 be placed (omitted for order X'83')
 *
     
 y0
                  
 y coordinate of character string (omitted for
 order X'83')
 V
     
     
 STRING
                  
                  
 EBCDIC character code of each character in
 the string. All characters above and
 including X'40' are valid.


Note: The character string is placed at the indicated coordinate. The attributes of the string (for example, mode, size, angle) are taken from the current values.

If the character string has a length that is odd, the length field in the order contains an odd number. The order must be padded with padding characters to an even number of bytes.

The position (x0,y0) may be omitted, in which case the order code becomes X'83' and the string is placed at the current position.

Current position is not changed. (This is different from GSCHAR.)

Examples:


     C3 08 0002 0003 C1C2C3C4

Draws the character string "ABCD" at coordinate (2,3).


     83 03 C5C6C7

Draws the character string "EFG" at the current position.

Go to the previous page Go to the next page



Copyright IBM Corporation 1990, 2012