Xerox Xerox Printer Access Facility (XPAF) Support & Software User Guide

Page of 97
 
 
XPAF Forms Generator 
59 
User Guide and Reference 
XPAF Forms Generator  
 
 
Downloading and printing a sample 
 
  If you want to download and print a sample of the form, run the XFGUTIL job 
following a successful compile. Figure 6–2 shows an example of JCL you use to 
download and sample a form on the printer.  This JCL is available in the XPFSAMP 
library as member XFGUTIL. 
 
 
  Figure 6–2. Downloading and printing a sample 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
  The parameters in the inline IDEN DD statement are as follows: 
 
 
PREFIX  The text string to use as the prefix for the DJDE records generated 
 
OFFSET  The offset of the DJDE prefix from the start of the record 
 
SKIP  The byte position of start of the DJDE parameters in a DJDE record 
 
JDE  If specified, a JDE= DJDE will be generated with the specified value 
 
JDL  If specified, a JDL= DJDE will be generated with the specified value 
 
PRINTFORMNAME  Indicates whether or not XFGUTIL should add variable text to the form sample that 
displays the form name 
 
TEMPFORMNAME  Specifies a different form name with which the form will be downloaded and 
sampled.  This can be used to avoid overwriting a production version of a form that 
you have updated and wish to sample before going live.
//user$XF  JOB (D498,340),'XFG UTILITY',CLASS=S,MSGCLASS=Y, 
//             REGION=4M,NOTIFY=&SYSUID                     
//*                                                         
//* THIS JOB EXECUTES THE XFG UTILITY PROGRAM TO DOWNLOAD AND 
//*      SAMPLE A FORM FROM THE CFORMLIB                    
//*                                                         
//* THE FORM NAME IS GIVEN IN THE PARM= STATEMENT           
//* THE IDEN PARAMETERS ARE GIVEN IN THE IDEN FILE          
//* THE OUTPUT IS WRITTEN TO SYSPRINT                       
//*                                                         
//* THE FORM WILL BE DOWNLOADED WITH THE DELETE OPTION      
//* IF ,D IS CODED AFTER THE FORM NAME IN THE PARM STATEMENT 
//*                                                         
//XFGUTIL EXEC PGM=XFGUTIL,REGION=4M,PARM=(form,D)          
//STEPLIB   DD DISP=SHR,DSN=your.hlq.XPFLOAD                
//XINPARM   DD DISP=SHR,DSN=your.hlq.XINPARM                
//CFORMLIB  DD DISP=SHR,DSN=your.hlq.CFORMLIB               
//SYSPRINT  DD SYSOUT=X                                      
//IDEN      DD *                                            
PREFIX='@@@DJDE'                                            
OFFSET=0                                                    
SKIP=8 
JDE=DFLT 
JDL=DFAULT 
PRINTFORMNAME=Y 
TEMPFORMNAME=TMPZZZ                                                                      
/*                                                          
//