Example 1: Repairing a VSAM data set interactively from the console

The following figure shows example control statements to designate console as input source.

Figure 1. Example of designating console as input source
//ZAP      JOB     (installation accounting information)  
//CONSTEP  EXEC    PGM=FABZVZAP                           
//STEPLIB  DD      DSNAME=DBT.SFABLMD0,DISP=SHR           
//SYSLIB   DD      DSNAME=DBT.VSAM,DISP=OLD               
//SYSPRINT DD      SYSOUT=A                               
//SYSIN    DD      *                                      
    CONSOLE                                               
/*                                                        
  • CONSOLE must be the only statement for SYSIN data set in the job stream.
  • Other IMS Database Repair Facility control statements must be entered from the console.
  • END must be the last entry on the console.