• Aucun résultat trouvé

Input and Output

Dans le document OS/VS1 Utilities (Page 51-56)

ICAPRTBL is an independent utility used to load the Universal Character Set (UCS) buffer and the forms control buffer (FCB) for an IBM 3211, 3203-4, or 3262 Printer.

ICAPRTBL is used when the 3211/3203-4/3262 is assigned as the output portion of a composite console and an unsuccessful attempt has been made to initialize the operating system because the UCS and FCB buffers contain improper bit patterns.

ICAPRTBL is used to properly load the buffers so the operating system can be initialized.

Note: When an operable console printer keyboard is available, the buffers are loaded under the control of the operating system.

ICAPRTBL must be loaded from a card reader. Control statements must follow the last card of the program. Only one printer can be initialized each time the program is executed.

To execute ICAPRTBL:

1. Mount the correct train on the printer and ready the printer.

2. Place the object program deck and the control cards in the card reader. Ready the reader and press the END OF FILE key.

3. Load the object program from the reader by setting the load selector switches and pressing the console LOAD key.

Wait state codes will be displayed in the address portion of the PSW for normal termination and for input/output, system or control card errors. Code B01 is issued for normal termination; B02 through B07 are issued for control card errors; BOA through BOC are issued for system errors; and B11 through B1D are issued for input/ output errors. Figure 4-1 shows these codes and their meanings.

Code Meaning Code Meaning

BOI Visually check the train B12 Reader not ready.

image printed on the B13 Reader unit check (display low 3211/3203-4/3262. main storage location 2 through B02 Missing control card or 7 for sense information).

control card out of order. B14 Reader channel error.

B03 Incorrect JOB statement. B15 No device end on reader.

B04 Incorrect DFN statement. Bl9 Printer not online.

B05 Incorrect DCS statement. BIA Printer not ready.

B06 Incorrect FCB statement. BIB Printer unit check (display low B07 Incorrect END statement. virtual storage location 2 through BOA External interrupt. 7 for sense information).

BOB Program check interrupt. BIC Printer channel error.

BOC Machine check interrupt. BID No device end on printer.

Bll Reader not online.

Figure 4-1. ICAPRTBL Wait-State Codes

ICAPRTBL uses as input utility control statements that contain images to be loaded into the Universal Character Set and/or Forms Control Buffer. ICAPRTBL produces as output properly loaded UCS and FCB buffers.

Control

ICAPRTBL is controlled by utility control statements. Because ICAPRTBL is an independent utility, operating system job control statements are not used.

Utility Control Statements

JOB Statement

DFN Statement

UCS Statement

FCB Statement

All utility control statement operands must be preceded and followed by one or more blanks.

ICAPRTBL utility control statements are:

Statement JOB DFN UCS FCB END

Use

Indicates the beginning of an ICAPRTBL job.

Defines the address of the 3211, 3203-4, or 3262.

Contains an image of the characters to be loaded into the UCS buffer.

Defines the image to be loaded into the FCB.

Indicates the end of an ICAPRTBL job.

Figure 4-2. ICAPRTBL Utility Control Statements

The JOB statement indicates the beginning of an ICAPRTBL job.

The format of the JOB statement is:

[label ] JOB [user-information ]

The DFN statement is used to define the address of the 3211,3203-4, or 3262, to specify that lowercase letters are to be printed in uppercase when the lowercase print train is not available, and to identify UCS and FCB image-ids.

The format of the DFN statement is:

DFN ADDR=cuu [,FOLD= {V

I

N}]

[,DEVT={321il3203-413262}]

[,UCS=ucs~ ] [,FCB=fcbname]

The

ues

statement contains an image to be loaded into the UCS buffer.

The format of the UCS statement is:

[ucsname ] UCS ucs-image

The FCB statement defines the image to be loaded into the forms control buffer.

The FCB statement may precede or follow the UCS statement.

The format of the FCB statement is:

ffcbname ] FCB LPI={618}

,LNCH=«/, c )[,(1, c ,) ... ]) ,FORMEND=x

wen_UWQ rW ,ew 'rtftnH "etttt!!lt

END Statement

The END statement signals the end of the ICABPRTBL job.

The format of the END statement is:

[label ] END [user-information ]

Operands

DEVT={3211 13203-4 1 3262}

specifies the device type for which the ADDR parameter addresses.

FCB={fcbname I STD11 ST02}

specifies a one- to eight-character name of the image loaded into the forms control buffer. The actual image loaded into the buffer is not affected by this name, but serves as a meaningful reference when printed on the printer, fcbname should be the same as the FCB image being used.

FOLD={YIN}

specifies whether lowercase letters are to be printed as uppercase letters when the lowercase print train is not available. These values can be coded:

Y

N

specifies that lowercase letters are to be printed as uppercase letters when the lowercase print train is not available.

specifies that lowercase letters are not to be printed as uppercase letters.

FORMEND=x

specifies the number of lines (maximum 180) on the printer form. For an 11 inch form, spacing six lines per inch, x must be 66.

LNCH=«I,c )[,(l,c ) ... ])

specifies the channels of the FCB image. Each set of parentheses must contain the line number (1-180), a comma, and the channel number (1-12) to be assigned to that line. One or all of the 12 channels may be assigned in any order. Each set must be separated by commas and the entire group surrounded by parentheses.

LPI={618}

specifies the number of lines per inch that will be printed on the document. These values can be coded:

6

specifies that six lines per inch will be printed.

8

specifies that eight lines per inch will be printed.

te*w*rl'rWpp,tt¥' trtr ** ¥trW

Operands

ues

ucs-image

eMti't"WMtd!#

Applicable Control Statements DFN

ues

user-information JOB END

Description of Operands/Parameters ucs=:{ucsname

I

AN

I

Alli SG64}

. is a one- to eight-character alphameric name of the image loaded into the

ues

buffer. This name is printed on the printer to serve as a reference to the print train being used.

AN

is the default for 3203-4 devices.

All

is the default for 3211 devices.

SG64

is the default for 3262 devices.

ucs-image

specifies characters to be loaded into the

ues

buffer. The characters must be contained in columns 16 through 71. The first

ues

statement contains the first 56 characters; subsequent statements contain continuations of the image to be loaded into the

ues

buffer.

[user-information ]

specifies user explanation of action, and comments.

Dans le document OS/VS1 Utilities (Page 51-56)