You are here: Development Standards > Upgrading OSAS > OSAS 4.5x Upgrade Procedure > Merge New GENPC, GENPC1, and GENPC2 Routines

# Merge New GENPC, GENPC1, and GENPC2 Routines

Merge the new GENPC routines into your programs. Follow these steps to merge the routine and change your programs:

1. Change the GENPC signature line in your programs, adjusting the line numbers to be removed to include the GENPC1 and/or GENPC2 routines.
2. RUN or CALL the _update utility to merge the new routine from GENLIB (which is on the Software Development Utilities diskette).
3. Change the logic for the GOSUBs to GENPC. You no longer need to
   - CALL GENPC to load the O9$ variable, unless you need it locally
   - set F$, F1 or F2 for the tables file before calling GENPC
   - OPEN the tables file before calling GENPC