Use of ?SOURCE

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

Use of ?SOURCE

Postby saurabh khare » Wed Oct 24, 2018 5:55 pm

Hi I am analysing the COBOL-DB2 code wherein I have encountered with part of cobol code as :

* Source-in COBOL table images here *

Can anyone please explain the meaning of it in detail.

saurabh khare
Posts: 4
Joined: Mon Dec 26, 2016 2:58 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Use of ?SOURCE

Postby enrico-sorichetti » Wed Oct 24, 2018 6:02 pm

at first glance it looks like some kind of <preprocessor> control card

but the best source of information would be Your colleagues
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
Global moderator
Posts: 2978
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 160 times

Re: Use of ?SOURCE

Postby Robert Sample » Wed Oct 24, 2018 6:25 pm

It is not standard COBOL, so most likely it is either a package installed at your site or something written at your site for a specific purpose. If it is a package, it is pretty rare as I've never (in more than 40 years of COBOL development and support) heard of a ?SOURCE statement. As otherwise stated, your BEST information source will be your coworkers. It is unlikely that you will find out anything about that structure on this -- or any -- forum.
Robert Sample
Global moderator
Posts: 3686
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 274 times

Return to IBM Cobol


  • Related topics
    Last post