Assume one has PROGRAM in USUAL.BP.

Write NEW.PROGRAM in DOUGS.BP with this at the beginning.

  001 SUBROUTINE PROGRAM(V1,V2,V3...)
  002 *
  003 IF @LOGNAME NE "DOUG" THEN
  004    CALL ORIG.PROGRAM(V1,V2,V3...)
  005    RETURN
  006 END
  007 * continue with the new program

At TCL do these commands

  CATALOG USUAL.BP ORIG.PROGRAM PROGRAM
  CATALOG DOUGS.BP PROGRAM NEW.PROGRAM

The calling program(s) need no changes and when testing is finished,
copy the new version of PROGRAM to USUAL.BP, delete lines 3-6 above,
then compile and catalog it.

Regards, Keith
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to