/* Appendix 4: Sample Independent Compile Job Stream             */

// JOB CARD
//P1 EXEC SAS
//SYSIN    DD *

   /* INDCOMP Initialization                                     */
options source nosource2 s=72 s2=72; /* HOST                     */

   /* INDCOMP Source Library                                     */
filename INDCOMP 'hilevel.sas.indcomp' dsorg=po old; /* HOST     */
%include INDCOMP (mfcinitc); /* HOST complete init.              */
   /* End Initialization                                         */

   /* Place below here your widely used application macros       */
   /* and macro variables, if any, which the DATA steps will     */
   /* need to be compiled.                                       */


   /* UNCOMMENT the function choice you want for ALL data        */
   /* steps. If you want to vary the choice by step, use it      */
   /* before the mfcchpgm statements below.                      */
  %let mfcch=PREEDIT;
* %let mfcch=COMPILE;

   /* UNCOMMENT sets of lines to process the source code         */
   /* file(s) and submit the job. In this example                */
   /* PREEDIT is chosen for the mfcsamp2 DATA step.              */

* %let mfcch=compile;
* %let mfcchpgm=mfcsamp1;
* %include indcomp(&mfcchpgm); /* HOST                           */

* %let mfcch=compile;
  %let mfcchpgm=mfcsamp2;
  %include indcomp(&mfcchpgm); /* HOST                           */