title: ACCEPT FROM SYSIN in subprogram
body: <p>Let's say I EXEC a COBOL program from JCL, using a <code>SYSIN DD</code> to provide data.</p>
  
  <p>If that program then <code>CALLs</code> a COBOL subprogram, and some data is still available from the input, will the subprogram be able to read them using an <code>ACCEPT</code> statement?</p>
  
  <p>Or is the SYSIN only accessible from the main program of the run unit invoked from the JCL?</p>
  
  <p><strong>Edit:</strong> I reckon this would be a bad coding practice. I do not intend to use it, nor am I in need of better alternatives, of which I am aware (such as reading the input device data from the main data and passing it to subprogram(s) through their <code>LINKAGE</code>).</p>
  
  <p>Actually I am not writing COBOL code, but studying / processing it, so I'm interested in "corner case" behavior to refine my understanding of COBOL semantics.</p>