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 *
*-------------------------------------*
?SOURCE =USREXTD ( INVOKE )
/
?SOURCE =FIDD ( INVOKE )
/
?SOURCE =FIDD ( INVOKE-11 )

Can anyone please explain the meaning of it in detail.

Thanks,
Sam
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
cheers
enrico
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
enrico-sorichetti
Global moderator
 
Posts: 3006
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 165 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: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times


Return to IBM Cobol

 


  • Related topics
    Replies
    Views
    Last post