APPENDIX C— EXAMPLE CONTROL FILE AND PARAMETER 

 INPUT FILES 



C.l Control File 



****************************************************************** 



* CONTROL FILE FOR RUNNING THE STOCHASTIC LIFE CYCLE MODEL * 

 ****************************************************************************** 



* CHANGES IN THIS FILE SHOULD BE MADE ONLY TO LOWER CASE IDENTIFIERS. * 



* DO NOT DELETE ANY SEMICOLONS OR OTHER SPECIAL CHARACTERS! ! ! * 



*****************************************************************************. 



%INCLUDE 'macro6_l . sas ' /source2; 

 ********************************************* 



* PART 1. CONTROL MACRO AND KEY FILES * 

 *********************************************. 



LIBNAME SASLIB 'slcmout'; /* DIRECTORY FOR SAS OUTPUT FILES */ 



FILENAME J_PARMS ' test61 j .par ' ; /* FILE WITH PRODUCTION PARAMETERS */ 



FILENAME P_PARMS 'testp.par'; /* PASSAGE PARAMETERS FOR WILD SMOLTS*/ 



FILENAME HP_PARM 'testp.par'; /* PASSAGE PARAMETERS FOR HATCHERY SMOLTS*/ 



FILENAME A_PARMS 'testa. par' ; /* FILE WITH ADULT PARAMETERS (WILD) */ 



FILENAME HA_PARM 'testa. par' ; /* FILE WITH ADULT PARAMETERS (HATCHERY) */ 



FILENAME INITIAL ' initnum.exp' ; /* FILE WITH INITIAL NO. (WILD HAT.) */ 

 %LET RESULTS = expl61 ; /* SAS DATASET TO CONTAIN MODEL OUTPUT */ 



%LET JUVPARM = facbase ; /* HANDLE FOR ACCESSING PRODUCTION PARAMETERS */ 

 %LET PASS = %STR( 'testl' ) ; /* HANDLE FOR PASSAGE PARAMETERS */ 



%LET ADULT = %STR ( ' testl ' ) ; 



/* HANDLE FOR ADULT RECOVERIES */ 

 %LET HATCHERY = %STR('on') ; /* TURNS HATCHERY PRODUCTION ON OR OFF */ 



%MACRO CONTROL; 



NGAMES = 500; /* NUMBER OF GAMES */ 



YEARS = 50; /* NUMBER OF YEARS PER GAME */ 



SMTTOG =1; /* SPECIFY SMOLT PRODUCTION OPTION */ 



%MEND CONTROL; 



******************************************************** 



* PART 2. IDENTIFY STEPPED VARIABLE AND LEVELS * 

 ********************************************************. 



%LET STEPVAR = noparm; /* DEFINE STEPPED VARIABLE */ 



%MACRO STEPDEF; 



NSTEPS = 



1 ; 



/* 



DEFINE 



NUMBER OF STEPS, 1 OR MORE 



*/ 



LEVEL 1 = 



1 ; 



/* 



DEFINE 



VALUES FOR EACH STEP. 



*/ 



LEVEL2 = 



; 



/* 



UP TO 



TEN LEVELS ARE PERMISSIBLE 



*/ 



LEVEL3 = 



; 











LEVEL 4 = 



; 











LEVEL 5 = 



; 











LEVEL 6 = 



; 











LEVEL 7 = 



; 











LEVEL 8 = 



; 











LEVEL 9 = 



; 











LEVEL 10 



= ; 











%MEND STEPDEF; 



27 



