SAMPLIB member CBRIPROC, as shown here, creates member OTIS in
PROCLIB.
//CBRIPROC JOB MSGLEVEL=(1,1),MSGCLASS=A
//********************************************************************
//*
//* $SEG(CBRIPROC) COMP(OSR) PROD(OAM):
//*
//* OAM Update PROCLIB Job (for OTIS procedure).
//*
//* This job will create a procedure in PROCLIB that can be used
//* to start OTIS.
//*
//* NOTE: If the DB2 load module library containing DSNALI is
//* not in the LNKLST concatenation, either include
//* the DB2 load module library in the SYS1.LINKLIB
//* concatenation (LNKLSTxx) or add a STEPLIB DD to
//* this PROCEDURE.
//*
//* If a STEPLIB is used, then that concatenation must be
//* APF-authorized.
//*
//*
//* CHANGE ACTIVITY:
//* $L0=JDP3347 331 910614 TUCJRL: OTIS Support
//* $P1=KBN0003 331 910930 TUCTNN: Change instructions in comment
//* block OTIS PROC from SYSLIB to
//* STEPLIB
//* $P2=KBP0114 410 920625 TUCEMB: to be consistent with CBRAPROC
//* added note above and deleted
//* STEPLIB DD statement
//*
//********************************************************************
//STEP1 EXEC PGM=IEBUPDTE,PARM=NEW
//SYSPRINT DD SYSOUT=A
//SYSUT2 DD DSNAME=SYS1.PROCLIB,DISP=SHR
//SYSIN DD DATA
./ ADD NAME=OTIS,LEVEL=01,SOURCE=0,LIST=ALL
./ NUMBER NEW1=10,INCR=10
//OTIS PROC
//IEFPROC EXEC PGM=CBRIIAS,REGION=0M
//SYSABEND DD SYSOUT=A
./ ENDUP
/*