$FOR PROG,SUB1,SUB2,.....,SUBN $LINK PROG,SUB1,SUB2,.....,SUBN,'CCLwhere CCL is a symbol defined to be the name of the CCSL Object Library (.OLB) file. At ILL an appropriate setting of CCL would normally have been made during login. At RAL it would be something like:
$ CCL=="LIB$DISK:[CCSL]LIBMK4/LIB"where LIBMK4.OLB is the CCSL object library.
On a UNIX system the required command line is:
f77 prog.f sub1.f sub2.f ..... subn.f $LIB -o progLIB is an environment variable set to point to the CCSL object library archive. It could be set and checked using for example:
sidney 1% setenv LIB ~brown/CCSL/use/lib/libmk4.a sidney 2% echo $LIB /hosts/sinbad/users/dif/brown/CCSL/use/lib/libmk4.a sidney 3%Graphics Libraries may also need to be included in the link step.
After that the job may be run on VMS by:
RUN PROG
and on UNIX by:
prog