C.1.1 Preparing an SCA Library
SCA stores data generated by the BASIC compiler in an SCA
library. The data in the SCA library contains information
about all symbols, modules, and files encountered during a
specific compilation of the source.
After creating and initializing the OpenVMS directory of
the SCA library, direct the BASIC compiler to generate data
analysis files by appending the /ANALYSIS_DATA qualifier to
the BASIC command as follows:
$ BASIC/ANALYSIS_DATA PG1,PG2,PG3
This command line compiles the input files PG1.BAS,
PG2.BAS, and PG3.BAS, and generates corresponding output
files for each input file with the file types OBJ and ANA. SCA
puts these files in your current default directory.
Load the information in the data analysis files into your SCA
library with the LOAD command as follows:
$ SCA LOAD PG1,PG2,PG3
This command loads your library with the modules contained
in the data analysis files PG1.ANA, PG2.ANA, and PG3.ANA.
After the SCA library has been prepared, enter LSE to begin
an SCA session. Within this context, the integration of LSE
and SCA provides commands that can be used only within
LSE.