Instream Cobol

Support for OS/VS COBOL, VS COBOL II, COBOL for OS/390 & VM and Enterprise COBOL for z/OS

Instream Cobol

Postby smaartchap » Fri Jun 26, 2009 5:30 pm


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).

Posts: 2
Joined: Fri Jun 26, 2009 5:18 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Instream Cobol

Postby Bill Dennis » Fri Jun 26, 2009 6:34 pm

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? >>         

Bill Dennis

Disclaimer: My comments on this forum are my own and do not represent the opinions or suggestions of any other person or business entity.
Bill Dennis
Posts: 278
Joined: Thu May 15, 2008 9:45 pm
Has thanked: 0 time
Been thanked: 0 time

Return to IBM Cobol


  • Related topics
    Last post