Example JCL statements for FPA

The following figure shows example JCL statement for verifying the syntax of the UNLOAD command.

This JCL verifies the syntax of the UNLOAD command of Example 1: Unloading an area that is registered with DBRC.

Figure 1. Verifying the syntax of the UNLOAD command
//HFP EXEC PGM=HFPMAIN0 
//STEPLIB  DD DISP=SHR,DSN=HPFP.SHFPLMD0 
//         DD DISP=SHR,DSN=IMSVS.SDFSRESL
//         DD DISP=SHR,DSN=IMSVS.PGMLIB
//IMSACB   DD DISP=SHR,DSN=IMSVS.ACBLIB
//IMSDALIB DD DISP=SHR,DSN=IMSVS.MDALIB
//HFPRPTS  DD SYSOUT=*
//HFPPRINT DD SYSOUT=*
//HFPSYSIN DD *
 GLOBAL
   DBRC=YES,
   SCAN=YES
 UNLOAD
   DBD=DEDBJN22,
   IAREA=(DB22AR0),
   OAREA=(DB22AR0), 
   ODSNMASK='HPFP.USRFILE.&AREA'
/*