Home About Courses Schedule Services Webinars Contact Search

Advanced Function Presentation and Printing


Duration: 4 Days

Method: Instructor led, Hands-on workshops

Price: $2250.00

Course Code: MF6000


Application programmers responsible for developing and maintaining AFP print applications in the MVS and z/OS environment.


This course provides training in the use of Advanced Function Presentation and Printing (AFP). Concepts, AFP products, and printers will be explained. Hands-on exercises will accelerate the student’s proficiency for developing AFP software. Upon completion, the student will be able to develop and maintain AFP applications using GML, SCRIPT/VS, PMF, PPFA and OGL.


Upon successful completion of this course, the student will be able to:

  • Understand the AFP environment
  • Create AFP documents using Generalized Markup Language (GML) and SCRIPT
  • Alter page segments using the Print Management Facility (PM F)
  • Define form definitions and page definitions using the Page Printer Formatting Aid (PPFA)
  • Create overlays using the Overlay Generation Language (OGL)
  • Use control records (IMM and IDM) within a program or file
  • Code appropriate JCL, TSO or CMS commands to utilize AFP
  • Use the AFP Viewer to browse
  • AFP objects before printing


Participants should have a basic understanding of the mainframe, along with TSO/ISPF and JCL ability.


  1. AFP Overview
    • Introduction
    • AFP Characteristics
    • Landscape and Portrait Printing
    • Default Media Origin
    • What is a Laser Printer?
    • Print Services Facility (PSF) and PSF Files
    • Document Composition Facility (DCF)
    • Generalized Markup Language (GML) and SCRIPT/VS
    • Print Management Facility (PM F)
    • Page Printer Formatting Aid (PPFA)
    • Overlay Generation Language (OGL)
    • Graphical Data Display Manager (GDDM)
    • AFP Viewer
    • AFP Terminology
  2. GML - A Primer
    • GML Introduction and Structure
    • General Document (:GDOC. And :EGDOC.)
    • Paragraphs (:P. and :PC.) and Headings (:H0. - :H6.)
    • Lists (:SL., :UL., :OL., :LI.)
    • Imbedded Lists (Simple,
    • Unordered, Ordered)
    • Front Matter (:FRONTM.)
    • Abstract, Preface and Table of Contents (:ABSTRACT., :PREFACE., :TOC.)
    • List of Illustrations (:FIGLIST.)
    • Body of the Document (:BODY.)
    • Appendix (:APPENDIX.) and Back Matter (:BACKM.)
    • Glossary and Index (:GLOSSARY., :INDEX.)
    • Highlighting (:HP0. - :HP3., :EHP0. - :EHP3.)
    • Quotations (:Q., :EQ., :LQ., :ELQ.) and Footnotes (:FN., :EFN.)
    • Example (:XMP., :EXMP.) and Figure (:FIG., :EFIG.)
    • Symbolic Variables (&rbl., &gml., &amp., &semi., &date., &time.)
    • Additional Tags (:DL., :GL., :HDREF., :FIGREF., :LIREF., :FNREF., :CIT., :NOTE.)
    • GML Summary
  3. Coding SCRIPT/VS Control Words
    • Syntax
    • Defining the Page Format
    • Page Length (.PL) and Page Margin (.PM)
    • Top and Bottom Margins (.TM, .BM)
    • Page Width (.PW) and Line Length (.LL)
    • Left Margin Indentation (.IN) and
    • Right Margin Indentation (.IR)
    • Page Advance (.PA) and Page Numbering (.PN)
    • Running Headings (.RH) and Running Footings (.RF)
    • Text Spacing (.SP, .SK, .LS)
    • Formatting Print Lines (.FO)
    • Concatenating and Breaking Text (.CT, .BR)
    • Comments (.CM, .*)
    • Defining Code Pages and Coded Fonts
    • Defining and Changing Fonts (.DF, .BF, .PF)
    • Defining Symbolic Variables (.SE, .DV)
    • Horizontal Rules (.HR) and Vertical Rules (.VR)
    • Boxes (.BX) and Define Rule (.DR)
    • Page Segment (.SI) and Define Area (.DA, .AR)
    • File Input/Output (.DD, .IM)
    • Common SCRIPT/VS Control Words
  4. Using Fonts
    • Font Definition
    • IBM Bitmap Fonts
    • Fixed Fonts
    • Proportionally Spaced Fonts
    • Type Terminology
    • Font Terminology
    • Font Structure
    • Typographic Font Names
    • Font Samples
  5. Page Segment
    • Definition
    • Print Management Facility (PMF)
    • Altering a PAGESEG Using PMF
    • Rasterization Using PMF
    • Getting Into Edit
    • Edit Characteristics and Initial Editing
    • PMF Edit
    • Removing Dots
    • Changing Pages in Edit
    • Character Group Options and Character Group Library Access
    • Building a Page Segment
    • The Finished Product
  6. Building Overlays
    • Electronic Overlay Definition
    • How to Build Your Own Overlays
    • Overlay Placement
    • Overlay Concepts
    • Overlay Generation Language (OGL) Syntax
    • OGL Commands
      • CONTROL
      • OVERLAY
      • ORIENT
      • FONT
      • SEGMENT
      • SETUNITS
      • DRAWMASK
      • DRAWRULE
      • DRAWBOX
      • SETTEXT
      • POSITION
      • DRAWPATH
      • DEFINE
      • PLACE
    • Overlay Examples
  7. Page Definition
    • Description
    • PAGEDEF Terminology
    • IBM-Supplied PAGEDEFs
    • Creating Customized PAGEDEFs Using Page Printer Formatting Aid (PPFA)
    • PPFA Commands for Creating PAGEDEFs
      • SETUNITS
      • PAGEDEF
      • FONT
      • FIELD
      • TRCREF
      • SEGMENT
      • OVERLAY
      • PAGEDEF Examples
  8. Form Definition
    • Description
    • FORMDEF Terminology
    • IBM-Supplied FORMDEFs
    • Creating Customized FORMDEFs
    • Using PPFA
    • PPFA Commands for Creating FORMDEFs
      • SETUNITS
      • FORMDEF
      • OVERLAY
      • SUBGROUP
    • FORMDEF Examples
  9. JCL and TSO Processing
    • Printing a Regular Data Set
    • JCL Statements
    • JCL Parameter Hierarchy
    • Printing Files with ASA Characters
    • Printing GML Data Sets
    • Printing SCRIPT Data Sets
  10. Appendix
    • Advanced Function Printing (AFP) References
    • IBM Manuals
    • Books and Magazines
    • Internet Pages
    • Design Guidelines
    • COBOL Applications
    • Line Data (Carriage Control Characters, Table Reference Characters)
    • Advanced Application Formatting directly into the data USING Control Records (IMM, IDM, Other embedded X’5A’ records)
    • Glossary