JCL example for Stand-Alone Prefix Update

To run Stand-Alone Prefix Update, you must edit and submit a JCL stream. This example will give you an idea how to specify parameters in the JCL stream.

The JCL example shown in the following figure invokes Stand-Alone Prefix Update and updates the prefix of each logical segment in HDAM01 and HDAM02.

In this example, the following control statements are specified:

Change the bold values to meet your site requirements.

Figure 1. Stand-Alone Prefix Update JCL
//HPPR     JOB (...,...),...
//*
//JOBLIB   DD DISP=SHR,DSN=IMS.SDFSRESL
//         DD DISP=SHR,DSN=HPS.SHPSLMD0
//HPPR     EXEC PGM=FABYMAIN
//*-----------------------------------------------------------------*
//*       STAND-ALONE PREFIX UPDATE                                 *
//* ----------------------------------------------------------------*
//DFSURWF3 DD DISP=SHR,DSN=FABY.WF3,BUFNO=44 
//IMS      DD DISP=SHR,DSN=IMS.DBDLIB
//SYSUDUMP DD SYSOUT=*
//FABYPRNT DD SYSOUT=*
//FABYMSG  DD SYSOUT=*
//FABYIN   DD *
    UPDATE=ONLY
    DBRC=NO
/*
//HDAM01   DD DISP=SHR,DSN=HDAM01
//HDAM02   DD DISP=SHR,DSN=HDAM02