PSF for z/OS: User's Guide
Previous topic | Next topic | Contents | Index | Contact z/OS | Library | PDF


How the AFP Reblocking Program works

PSF for z/OS: User's Guide
S550-0435-04

How the AFP Reblocking Program works

To reblock AFP file data, you use the AFRREBLK command, which specifies an input data set and, optionally, an output data set. If the output data set is not specified on the AFRREBLK command, the reblocking program determines the type of AFP object that is to be reblocked, such as overlay or object container, and then creates a reblocked data set in one of these ways:

  • The reblocking program uses the AFRREBLK profile to select the data set name for the AFP object type. For example, this line in the AFRREBLK profile (see Figure 47),
    Doc240 userid().afrreblk.doc240                 /* 240 pel Document Names     */
    indicates that when a document formatted for a 240 pel resolution printer is encountered, the reblocked file becomes a member of the partitioned data set userid.afrreblk.doc240, where userid is your user ID. Therefore, when AFRREBLK reblocks the input data set userid.GRTNOVEL.UPLD, it recognizes the file as a 240-pel document from fields in the AFP data and changes its name, according to the AFRREBLK profile, to userid.afrreblk.doc240(GRTNOVEL). The second qualifier of the input data set, GRTNOVEL, becomes the member name of the output data set.

    The profile can also specify a sequential data set by using only one qualifier. For example, if the profile specifies:

    Doc240 doc240                    /* 240 pel Document Names   */

    the file being reblocked is renamed userid.dsname.DOC240, where dsname is the second qualifier of the input data set. Therefore, the input data set, userid.GRTNOVEL.UPLD, is reblocked with the name userid.GRTNOVEL.DOC240.

  • If no profile exists or if no data set can be determined from the profile, the reblocking program allocates a sequential output data set with a first qualifier of your user ID, the same second qualifier as the input data set, and a third qualifier determined by the AFP object type. For example:
    userid.dsname.objtype
    Table 5 shows the third qualifier values that the reblocking program associates with the default AFP object types. The list also shows the profile keywords associated with the AFP object types.
    Table 5. Data set values for default AFP object types
    AFP Object TypeThird QualifierProfile Keyword
    Unbounded Box FontFONT3820FontUB
    240 Bounded Box FontFONT3820Font240
    300 Bounded Box Font NameFONT300Font300
    Outline Font NameFONTOLNFontOLN
    Page Definition NamePDEF38PPPageDef
    Form Definition NameFDEF38PPFormDef
    240 pel Document NameLIST3820Doc240
    Resolution Independent DocumentLISTAFPDocAFP
    240 pel OverlayOVLY38PPOvly240
    Resolution Independent OverlayOVLYAFPOvlyAFP
    IOCA ImageIOCAIOCA
    Object ContainerAFPOBJAFPOBJ
    Page Segment-240 pel IM1 ImagePSEG3820Pseg240
    Page Segment-300 pel IM1 ImagePSEGAFPPsegAFP

    Therefore, when AFRREBLK reblocks the input data set userid.OVERLAY.UPLD, it recognizes the file as a 240-pel overlay from fields in the AFP data and changes its name, according to the default AFP object type list, to userid.OVERLAY.OVLY38PP.

  • If the reblocking program does not recognize the AFP object type, it sets the third qualifier in the sequential output data set to AFPDS. For example if the type of AFP data set is not recognized, the reblocking program uses:
    userid.dsname.AFPDS
    where userid is the user identifier of the person reblocking the document and dsname is the second qualifier of the input data set being reblocked. Therefore, if userid.UNKNOWN.UPLD is reblocked and not recognized by the profile or in the default AFP object type list, the data set is named userid.UNKNOWN.AFPDS. The second qualifier (UNKNOWN) is the same as the data set being reblocked. The third qualifier is always AFPDS.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014