title: SPSS syntax for naming individual analyses in output file outline
body: <p>I have created syntax in SPSS that gives me 90 separate iterations of general linear model, each with slightly different variations fixed factors and covariates.  In the output file, they are all just named as "General Linear Model."  I have to then manually rename each analysis in the output, and I want to find syntax that will add a more specific name to each result that will help me identify it out of the other 89 results (e.g. "General Linear Model - Males Only: Mean by Gender w/ Weight covariate").</p>
  
  <p>This is an example of one analysis from the syntax:</p>
  
  <pre><code>USE ALL.
  COMPUTE filter_$=(Muscle = "BICEPS" &amp; Subj = "S1" &amp; SMU = 1 ).
  VARIABLE LABELS filter_$ 'Muscle = "BICEPS" &amp; Subj = "S1" &amp; SMU = 1 (FILTER)'.
  VALUE LABELS filter_$ 0 'Not Selected' 1 'Selected'.
  FORMATS filter_$ (f1.0). FILTER BY filter_$.
  EXECUTE. 
  
  GLM Frequency_Wk6 Frequency_Wk9
      Frequency_Wk12 Frequency_Wk16 
      Frequency_Wk20
  /WSFACTOR=Time 5 Polynomial
  /METHOD=SSTYPE(3)
  /PLOT=PROFILE(Time)
  /EMMEANS=TABLES(Time)
  /CRITERIA=ALPHA(.05)
  /WSDESIGN=Time. 
  </code></pre>
  
  <p>I am looking for syntax to add to this that will name this analysis as: "S1, SMU1 BICEPS, GLM" Not to name the whole output file, but each analysis within the output so I don't have to do it one-by-one. I have over 200 iterations at times that come out in a single output file, and renaming them individually within the output file is taking too much time.</p>