Page 1 of 1

Instream Cobol

PostPosted: Fri Jun 26, 2009 5:30 pm
by smaartchap
Hi,

Can someone provide me an instream cobol code that can be executed in a JCL. (i.e. a single job that compiles and runs the instream cobol code).

Thanks,
Rohaan

Re: Instream Cobol

PostPosted: Fri Jun 26, 2009 6:34 pm
by Bill Dennis
You may need special symbolics or overrides for your site, but it may be this simple
//*                                               
//* SAMPLE JOB TO TEST COBOL                       
//*                                               
//COB#GO  EXEC IGYWCG                             
//SYSIN   DD *                                     
     <<< COBOL source here >>>>
//GO.ddnames DD       <files for run-time? >>