/********************************************************
Mosier Example Run
 
 STEP 1: COPY THE SAS CATALOG FILE (sasmacr.sas7bcat) TO A 
         FOLDER OF YOUR CHOOSING 
         (only need to do this once and leave it there).
 
 STEP 2: USE A LIBNAME STATEMENT TO POINT TO THE FOLDER.
 
 STEP 3: USE THE MSTORED AND SDSMSTORE OPTIONS AND ASSIGN
         THE LOGICAL LIBNAME FROM STEP 2 TO SASMSTORE
 
 STEP 4: CREATE A DATA FILE (mosier_test2.in for this example)
         CONTAINING INPUT FOR PROGRAM
 
 STEP 5: RUN MACRO TELLING IT # of SCALES and LOCATION OF
         DATA FILE.
*********************************************************

/* STEP 2 */
LIBNAME MACLIB "C:\MySAS";

/* STEP 3 */
OPTIONS MSTORED SASMSTORE=MACLIB;

options ls=132 ps=54 nocenter dquote;  ** helpful options for easier printing;

/* STEP 5 */
%mosier(nsc=8, infile="C:\Projects\mosier\mosier_test2.in");

/***************************************************************************************/
/** 3/12/14: some notes **/
/***************************************************************************************
mosier.in follows same format as input file used in Ron Hays' mosier.exe program, i.e.,
- only reads first 80 columns for composite name,
- only reads first 8 columns for scale names.

This program differs in that you no longer need to have the weights/SDs/reliabilities conform 
to fixed number of columns for input.  As long as there is a space between these data points
then the program should read your data just fine.

We've rounded the value of mosier to .0001 when output.
****************************************************************************************/