I can offer you a utility type program It "reads" in a PDS/PDSE containing load modules/program objects and it uses the DESERV and IEWBIND API"s to list all csects in the objects and what compiler/product was used to build it.
This what your looking for? Shout if it is and I can mail you either source and or load offline. Should be easy to wrap in a REXX. again input is a loadlib output is written to a DD (FB80) in format first line for a program is LMODNAME datetime and userid amode rmode Followed by one line for each csect it contains and it compiler product. The utility program just contains an array of IBM product numbers - I dont cater for all! it also contains a list of exclusion csects you dont want reported on see below Example output..... MAXSTOR 160926160926ABNB529J 31ANY MAXSTOR MAXSTOR 160926160926HL ASM V2 31 24 MYCODE 160302160302ABNB529Y 31ANY MYCODE .... 160302160302C Z/OS R2 MIN 24 MYCODE TIEB 160302160302C Z/OS R2 MIN 24 MYCODE EDCINPL 110318160302HL ASM V2 MIN 24 NEILTIME 170724170724ABNB529J 31ANY NEILTIMENEILTIME170724170724HL ASM V2 31 24 NHM997D 170203170203ABNB529J 31ANY NHM997D NHM997D 170203170203Ent Cobol V6 MIN 24 NHM997D DLM010 120514170203HL ASM V2 MIN 24 NHM997D DLM010 170203 .DLM010 MIN 24 NHM997DE 170130170130ABNB529J 31ANY NHM997DENHM997DE170130170130Ent Cobol V6 MIN 24 NICKTEST 170504170504ABNB529N 31ANY NICKTESTNICKTEST170504170504Ent Cobol V4 MIN 24 NICKTESTNICKTEST 170504ä.NICKTEST MIN 24 NICKTSTA 170504170504ABNB529N 31ANY NICKTSTANICKTSTA170504170504Ent Cobol V4 MIN 24 NICKTSTANICKTSTA 170504ä.NICKTSTA MIN 24 NICKTSTB 170504170504ABNB529N 31ANY NICKTSTBNICKTSTB170504170504Ent Cobol V4 MIN 24 NICKTSTBNICKTSTB 170504ä.NICKTSTB MIN 24 Product codes and exclusion arrays 000468 PROD_MAX DC F'24' LUCKY FOR SOME 000469 PROD_IDS DC CL28'360SAS037 FORTRAN ' 1 000470 DC CL28'40CB1 COBOL ' 2 000471 DC CL28'566528408 HEWLH096 ' 3 000472 DC CL28'566895801 COBOL II ' 4 000473 DC CL28'566896201 ASM H V2 ' 5 000474 DC CL28'569623400 HL ASM V2 ' 6 000475 DC CL28'5734-F02 FORTRAN ' 7 000476 DC CL28'5734-PL1 PL/I ' 8 000477 DC CL28'5734AS100 ASM H V1.5 ' 9 000478 DC CL28'5740CB103 OS/VS COBOL ' 10 000479 DC CL28'5741SC103 ASM F ' 11 000480 DC CL28'5752SC104 IEWL ' 12 000481 DC CL28'5655G5300 ENT COBOL FOR Z/0S' 13 000482 DC CL28'566895807 COBOL/370 ' 14 000483 DC CL28'5648A2500 COBOL FOR OS/390 ' 15 000484 DC CL28'5688040 C/370 COMPILER V1 ' 16 000485 DC CL28'5688187 C/370 COMPILER V2 ' 17 000486 DC CL28'5688216 SAA AD/CYCLE C/370' 18 000487 DC CL28'5645001 C/C++ OS/390 R2 ' 19 000488 DC CL28'5647A01 C/C++ OS/390 R4 ' 20 000489 DC CL28'5694A01 C Z/OS R2 ' 21 000490 DC CL28'5655G5300 Ent Cobol V3 ' 22 000491 DC CL28'5655S7100 Ent Cobol V4 ' 23 000492 DC CL28'5655EC6 Ent Cobol V6 ' 24 000493 EXCL_MAX DC F'4' 000494 EXCL_LIS DC XL2'0003',CL3'CEE' 000495 DC XL2'0003',CL3'IGZ' 000496 DC XL2'0004',CL4'IEWB' 000497 DC XL2'0002',CL2'@@' ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN