z/OS DFSMS Using Data Sets
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


FCB Image Exit

z/OS DFSMS Using Data Sets
SC23-6855-00

You can specify in an exit list the address of a forms control buffer (FCB) image. This FCB image can be loaded into the forms control buffer of the printer control unit. The FCB controls the movement of forms in printers that do not use a carriage control tape.

Multiple exit list entries in the exit list can define FCBs. The OPEN and SETPRT routines search the exit list for requested FCBs before searching SYS1.IMAGELIB.

The first 4 bytes of the FCB image contain the image identifier. To identify the FCB, this image identifier is specified in the FCB parameter of the DD statement, by your JFCBE exit, by the SETPRT macro, or by the system operator in response to message IEC127D or IEC129D.

For an IBM 3203, 3211, 3262, 4245, or 4248 Printer, the image identifier is followed by the FCB image described in z/OS DFSMSdfp Advanced Services.

You can create, modify, and list FCB images in libraries with the IEBIMAGE utility and the CIPOPS utility. IEBIMAGE is described in z/OS DFSMSdfp Utilities.

The system searches the DCB exit list for an FCB image only when writing to a printer that is allocated to the job step. The system does not search the DCB exit list with a SYSOUT data set. Figure 1 shows one way the exit list can be used to define an FCB image.
Figure 1. Defining an FCB Image for a 3211
                  ...
                  DCB    ..,EXLST=EXLIST
                  ...
   EXLIST         DS     0F
                  DC     X'10'           Flag code for FCB image
                  DC     AL3(FCBIMG)     Address of FCB image
                  DC     X'80000000'     End of EXLST and a null entry
   FCBIMG         DC     CL4'IMG1'       FCB identifier
                  DC     X'00'           FCB is not a default
                  DC     AL1(67)         Length of FCB
                  DC     X'90'           Offset print line
   * 16 line character positions to the right
                  DC     X'00'           Spacing is 6 lines per inch
                  DC     5X'00'          Lines 2-6, no channel codes
                  DC     X'01'           Line 7, channel 1
                  DC     6X'00'          Lines 8-13, no channel codes
                  DC     X'02'           Line (or Lines) 14, channel 2
                  DC     5X'00'          Line (or Lines) 15-19, no channel codes
                  DC     X'03'           Line (or Lines) 20, channel 3
                  DC     9X'00'          Line (or Lines) 21-29, no channel codes
                  DC     X'04'           Line (or Lines) 30, channel 4
                  DC     19X'00'         Line (or Lines) 31-49, no channel codes
                  DC     X'05'           Line (or Lines) 50, channel 5
                  DC     X'06'           Line (or Lines) 51, channel 6
                  DC     X'07'           Line (or Lines) 52, channel 7
                  DC     X'08'           Line (or Lines) 53, channel 8
                  DC     X'09'           Line (or Lines) 54, channel 9
                  DC     X'0A'           Line (or Lines) 55, channel 10
                  DC     X'0B'           Line (or Lines) 56, channel 11
                  DC     X'0C'           Line (or Lines) 57, channel 12
                  DC     8X'00'          Line (or Lines) 58-65, no channel codes
                  DC     X'10'           End of FCB image
                  ...
                  END
   //ddname       DD     UNIT=3211,FCB=(IMG1,VERIFY)
   /*

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014