It seems that if I want the final executable to be one file then this will work:
:COB85XL SUBPROG,SUBP;INFO="$CONTROL DYNAMIC"
:COB85XL MAINPROG,MAINP
:LINK FROM=MAINP,SUBP; TO=UPDPGM
from the HP COBOL II/XL Programmer's Guide, and it does.
What if I want MAINPROG and SUBPROG to remain as separate files - is this possible?
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *