The sample files are located in /crsp/sample. You may copy and modify them or create your own access routines using an editor. Make sure that .f is the suffix of your FORTRAN program.
Execute either one of the following statements to set up the environment variables. You must decide whether you wish to use the daily database or the monthly database.
. /crsp/accbin/dailycrsp (for daily data)
– or –
. /crsp/accbin/monthlycrsp (for monthly data)
To compile a program use the following syntax:
xlf programname -or modulename- I$CRSP_INCLUDE $CRSP_LIB/crsplib.a
To execute a compiled program, type modulename.