Before you begin: Make a change to a single source file and rebuild the application.
Perform the following steps to recompile the single changed source file and make a replacement of its binder sections in the program:
//* Compile UNIT1 user
//CC EXEC EDCC,
// CPARM='OPTF(DD:OPTIONS)',
// INFILE='USERID.PLAN9.C(UNIT1)',
// OUTFILE='USERID.PLAN9.OBJ(UNIT1),DISP=SHR'
//COMPILE.OPTIONS DD *
LIST RENT LONGNAME DLL CSECT(MYPROG)
/*
_______________________________________________________________
//BIND EXEC CBCB,
// OUTFILE='USERID.PLAN9.LOADE,DISP=SHR'
//OLDPGM DD DSN=USERID.PLAN9.LOADE,DISP=SHR
//NEWOBJ DD DSN=USERID.PLAN9.OBJ,DISP=SHR
//SYSIN DD *
INCLUDE NEWOBJ(UNIT1)
INCLUDE OLDPGM(MYPROG)
NAME NEWPGM(R)
/*
_______________________________________________________________
Rebinds are fast because most of the program is already bound, and none of the intermediate object modules are retained.