by steve-myers » Sat Feb 08, 2014 5:33 am
And which compiler??? There are several Cobol compilers, and each one requires slightly different JCL.
More: the compiled code must be linked and combined with modules that are located in a separate library or libraries to produce a load module that will actually execute. As Mr. Sample indicated the data set names for these libraries vary from installation to installation. There is no way those of us here can possibly know these data set names.
Another idea: look in your PROCLIB for procedures with member names like COBxxx. A COBxC member is likely to be a compile only procedure, COBxCL is likely to be a compile and link edit procedure. But, as with all data set names, they vary from installation to installation. One place to start - and I cannot guarantee it will work at your installation - is to locate the "job" for your TSO session in SDSF or IOF or whatever you use and look in the JESYSMSG data set. Near the top you will see a line like IEFC001I PROCEDURE zzz WAS EXPANDED USING SYSTEM LIBRARY ddd. Look in that library. If you don't see any COBxxx procs, try IGYWxxx. Failing that, look for xxxCL or xxxCLG. Sooner or later you will find something of value.