Example: Adding a new PROGRAM entry

Assume you have installed PGM3 outside of SMP/E, but now you want to start using SMP/E to track changes to that program element. Here is an example of the UCL statements you would use to define entries for that program element in the appropriate target and distribution zones:
SET      BDY(TGT1)          /* Set to target zone.      */.
UCLIN                       /*                          */.
ADD      PROGRAM(PGM3)      /* Define new PROGRAM entry.*/
         DISTLIB(ADSTLIB)   /* Define DLIB.             */
         SYSLIB(SPGMLIB)    /* System library.          */
         FMID(MYPROG1)      /* Functional owner.        */.
ENDUCL                      /*                          */.
SET      BDY(DLB1)          /* Now do same to DLIB.     */.
UCLIN                       /*                          */.
ADD      PROGRAM(PGM3)      /* Define new PROGRAM entry.*/
         DISTLIB(ADSTLIB)   /* Define DLIB.             */
                            /* no SYSLIB info in DLIB.  */
         FMID(MYPROG1)      /* Functional owner.        */.
ENDUCL                      /*                          */.