Examples of compiling programs with HP COBOL

With HP COBOL, the syntax for compiling and linking a COBOL program might look like this:

:BUILD HELLOLST;REC=-80,1,F,ASCII;DISC=2000
:COB85XLK HELLOCBL,HELLOEXE,HELLOLST

or like this:

:FILE COBTEXT=HELLOCBL
:FILE COBOBJ=HELLOOBJ
:FILE COBLIST=HELLOLST
:BUILD HELLOLST;REC=-80,1,F,ASCII;DISC=2000
:RUN COBOL.PUB.SYS;PARM=7
:LINK FROM=HELLOOBJ;TO=HELLOEXE