• Keine Ergebnisse gefunden

MEMBER ,member name XLATE,member name

Im Dokument IBM System/34 System Support (Seite 60-64)

The IMAGE statement tells the SSP to:

• Read the new print belt characters from the system input device (either from the keyboard or from a procedure member being executed)

• Read the new print belt characters from a source member in the system library

• Initialize a new translation table for a particular display station or job on the input job queue

IMAGE Statement (for IBM 5211 and 3262 Printers Only) 1-37

Characters from the System Input Device

To indicate that the new print belt characters are to be entered from the keyboard or from the procedure member if a procedure contains the IMAGE statement, use the following parameters:

CHAR or HEX: CHAR indicates that the characters are in alphameric form.

HEX indicates that the characters are in hexadecimal form. (See Appendix F for the hexadecimal form of characters.)

Note: If the print belt contains characters that cannot be entered from the keyboard, HEX must be specified.

data length: The data length parameter must be used with CHAR and HEX.

This parameter specifies the number of characters to be entered from the keyboard. (If HEX is specified in the first parameter position, each character on the print belt requires 2 hexadecimal characters from the keyboard.) After the IMAGE statement is entered, the operator is prompted to enter the characters. For both the 3262 and the 5211 printers, the data length parameter must not exceed 384 when the characters are hexadecimal, or 192 when the characters are alphameric.

Following are the rules for entering the new characters from the keyboard:

• The characters must begin in position 1.

• Consecutive positions must be used and characters must be entered in , the sequence in which they appear on the new print belt.

The sequence for entering characters on the 48-character print belt is:

1234567890#@/STUVWXYZ&,%JKLMNOPOR-$*ABCDEFGHI+.' The sequence for entering characters on the 64-character print belt is:

1234567890#@/STUVWXYZ&,%JKLMNOPOR-$*ABCDEFGHI+.'ct«I!);1 \ _

>?:=" \

Note: The question mark (?) has a special meaning in procedures;

therefore, if you use a procedure to enter the IMAGE statement and a question mark is one of the characters on the print belt, you must use the H EX form for all characters.

• All positions in a record must contain nonblank characters before characters can be continued on the succeeding record (beginning in position 1 of the new record).

Characters from a Source Member in the System Library

To indicate that the new print belt characters are to be read from a source member in the system library, use the following parameters:

MEM or MEMBER: Indicates that the new print belt characters are in a system library source member.

member name: Specifies the name of the source member that contains the new print belt characters. The first record in the source member must be an IMAGE statement that specifies the format as alphameric (CHAR) or hexadecimal (HEX) and specifies the number of characters in the source member. The new characters begin in the first position of the second record in the source member.

Note: For a 3262 Printer, the data length parameter in the source member's IMAGE statement must not exceed 576 when the characters are hexadecimal, or 288 when the characters are alphameric. For a 5211 Printer, the data length parameter must not exceed 384 when the characters are hexadecimal, or 192 when the characters are alphameric.

The SSP includes the following print belt members:

Print Belt Member Name BELT48

BELT64 BELT96 BELT188

BELT48HN (FORTRAN) BELT64B

BELT64C BELT188B

Specifying a Translation Table

Associated Printer 5211 or 3262 5211

5211 or 3262 5211

5211 or 3262 3262

3262 3262

To initialize a new translation table from a display station or the input job queue, use the following parameters:

XLATE: Indicates that a translation table will be replaced.

member name: Specifies the name of the source member in the system library that contains a replacement version of a translation table.

IMAGE Statement (for IBM 5211 and 3262 Printers Only) 1-39

Examples

In order to specify a translation table, the format of the first record within the source member must be in the form pp,nnn. pp is a 2-byte character

representation of 1 hex byte specifying the position of the first character to be replaced in the translation table. pp must be in the range of hex 40 to hex FE.

nn is a 1 - to 3-character decimal value that specifies the number of hex character representations being supplied as translation table data. The allowable range for this value is 2 through 384.

The second and subsequent source records must contain 2-byte character representations of each hex byte to be replaced in the translation table. The number of hex representations must be equal to the value specified in nnn, and each representation must have a value greater than or equal to hex 40 and less than or equal to hex FE.

The SSP includes the following translation tables:

Translation Table Name

#188E96

#188E64

#188E48

#96E64

#96E48

Translation Fold

192- to 96-character set fold 192- to 64-character set fold 192- to 48-character set fold 96- to 64-character set fold 96- to 48-character set fold

See Appendix L for the specific translation of each character in the translation tables listed above.

The IMAGE statements in Examples A and B tell the system that the new characters are to be entered from the keyboard. The IMAGE statement in Example C tells the system that the new characters are to be read from a system library source member.

Example A

The new characters entered from the keyboard are in hexadecimal form, and 96 hexadecimal characters are entered (48-character print belt).

m rJIlAl'l ~,~ 1111111111111111111111111

Note: If this IMAGE statement were in a procedure member, the 96

hexadecimal characters would begin in position 1 of the record following the I MAG E statement.

Example B

The new characters entered from the keyboard are alphameric and 48 characters are entered.

m ffifff B~"~~ 111111111111111111111111

Example C

The new characters are in a system library source member called BELT48.

Im Dokument IBM System/34 System Support (Seite 60-64)