title: How to make one string out of three variables?
body: <p>I want to make three fields into one field with only a single space between each word in Cobol. I this the correct format below</p>
  
  <pre><code>  STRING SORT-WORKER-LAST  SPACE       
           SORT-WORKER-FIRST SPACE       
           SORT-WORKER-MID   SPACE       
         DELIMITED BY SIZE               
           INTO REC-VSAM-NAME      
  </code></pre>
  
  <p>This didn't work:</p>
  
  <pre><code>   STRING SORT-WORKER-LAST  SPACE       
            SORT-WORKER-FIRST SPACE       
            SORT-WORKER-MID   SPACE       
         DELIMITED BY space              
           INTO REC-VSAM-NAME        
  
     STRING SORT-WORKER-LAST         
            SORT-WORKER-FIRST        
            SORT-WORKER-MID          
         DELIMITED BY space              
           INTO REC-VSAM-NAME     
  </code></pre>
  
  <p>Not working either.</p>
  
  <pre><code>      SS5726    test                test           t
  
       " " DELIMETED BY SPACE
  </code></pre>
  
  <p>This above code is not giving me what I am looking for either.</p>