Re: list of cobol load modules and their cobol version

2017-08-12 Thread scott Ford
Does FileManager also provide this information ?



On Thu, Aug 10, 2017 at 3:12 PM Roy Reynolds  wrote:

> Many thanks for your recommendations!  Roy
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>
-- 
Scott Ford
IDMWORKS
z/OS Development

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: list of cobol load modules and their cobol version

2017-08-10 Thread Roy Reynolds
Many thanks for your recommendations!  Roy

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: list of cobol load modules and their cobol version

2017-08-07 Thread Nick
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  TIEB160302160302C Z/OS   R2  MIN 24
MYCODE  EDCINPL 110318160302HL ASM V2MIN 24
NEILTIME170724170724ABNB529J  31ANY
NEILTIMENEILTIME170724170724HL ASM V2 31 24
NHM997D 170203170203ABNB529J  31ANY
NHM997D NHM997D 170203170203Ent Cobol V6 MIN 24
NHM997D DLM010  120514170203HL ASM V2MIN 24
NHM997D DLM010170203 .DLM010 MIN 24
NHM997DE170130170130ABNB529J  31ANY
NHM997DENHM997DE170130170130Ent Cobol V6 MIN 24
NICKTEST170504170504ABNB529N  31ANY
NICKTESTNICKTEST170504170504Ent Cobol V4 MIN 24
NICKTESTNICKTEST  170504ä.NICKTEST   MIN 24
NICKTSTA170504170504ABNB529N  31ANY
NICKTSTANICKTSTA170504170504Ent Cobol V4 MIN 24
NICKTSTANICKTSTA  170504ä.NICKTSTA   MIN 24
NICKTSTB170504170504ABNB529N  31ANY
NICKTSTBNICKTSTB170504170504Ent Cobol V4 MIN 24
NICKTSTBNICKTSTB  170504ä.NICKTSTB   MIN 24

Product codes and exclusion arrays

000468 PROD_MAX DCF'24' LUCKY FOR SOME   
000469 PROD_IDS DCCL28'360SAS037 FORTRAN   ' 1   
000470  DCCL28'40CB1 COBOL ' 2   
000471  DCCL28'566528408 HEWLH096  ' 3   
000472  DCCL28'566895801 COBOL II  ' 4   
000473  DCCL28'566896201 ASM H V2  ' 5   
000474  DCCL28'569623400 HL ASM V2 ' 6   
000475  DCCL28'5734-F02  FORTRAN   ' 7   
000476  DCCL28'5734-PL1  PL/I  ' 8   
000477  DCCL28'5734AS100 ASM H  V1.5   ' 9   
000478  DCCL28'5740CB103 OS/VS COBOL   ' 10  
000479  DCCL28'5741SC103 ASM F ' 11  
000480  DCCL28'5752SC104 IEWL  ' 12  
000481  DCCL28'5655G5300 ENT COBOL FOR Z/0S' 13  
000482  DCCL28'566895807 COBOL/370 ' 14  
000483  DCCL28'5648A2500 COBOL FOR OS/390  ' 15  
000484  DCCL28'5688040   C/370 COMPILER V1 ' 16  
000485  DCCL28'5688187   C/370 COMPILER V2 ' 17  
000486  DCCL28'5688216   SAA AD/CYCLE C/370' 18  
000487  DCCL28'5645001   C/C++ OS/390 R2   ' 19  
000488  DCCL28'5647A01   C/C++ OS/390 R4   ' 20  
000489  DCCL28'5694A01   C Z/OS   R2   ' 21  
000490  DCCL28'5655G5300 Ent Cobol V3  ' 22  
000491  DCCL28'5655S7100 Ent Cobol V4  ' 23  
000492  DCCL28'5655EC6   Ent Cobol V6  ' 24  
000493 EXCL_MAX DCF'4'   
000494 EXCL_LIS DCXL2'0003',CL3'CEE' 
000495  DCXL2'0003',CL3'IGZ' 
000496  DCXL2'0004',CL4'IEWB'
000497  DCXL2'0002',CL2'@@'  



--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: list of cobol load modules and their cobol version

2017-08-06 Thread Mike LaMartina
Would AMBLIST LISTIDR be of help?

-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Roy Reynolds
Sent: Sunday, August 06, 2017 7:58 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: list of cobol load modules and their cobol version

I need to provide a list of cobol modules and the Cobol version they were 
compiled with from a REXX program. There are many large PDS libs to process. 
These may include non-Cobol load modules so I need to be able to identify which 
are Cobol.
I know I can get the member list for each PDS into a REXX program and make 
AMBLIST display a lot of good information but I'm not sure what to look for in 
the output and what will identify what I need: Cobol Version used and date 
compiled.  Is the Cobol version identified by hex strings or codes that aren't 
readily apparent?
Can anyone suggest a way to best approach this?  The process must not require a 
third party tool we probably don't have and probably can't buy. TIA

--
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: list of cobol load modules and their cobol version

2017-08-06 Thread Edward Finnell
Have you looked at COBANAL on CBT(File 321)?
 
 
In a message dated 8/6/2017 9:58:02 P.M. Central Daylight Time,  
roy.reyno...@ucop.edu writes:

Can  anyone suggest a way to best approach this?  The process must not 
require  a third party tool we probably don't have and probably can't buy.  TIA



--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


list of cobol load modules and their cobol version

2017-08-06 Thread Roy Reynolds
I need to provide a list of cobol modules and the Cobol version they were 
compiled with from a REXX program. There are many large PDS libs to process. 
These may include non-Cobol load modules so I need to be able to identify which 
are Cobol.
I know I can get the member list for each PDS into a REXX program and make 
AMBLIST display a lot of good information but I'm not sure what to look for in 
the output and what will identify what I need: Cobol Version used and date 
compiled.  Is the Cobol version identified by hex strings or codes that aren't 
readily apparent?
Can anyone suggest a way to best approach this?  The process must not require a 
third party tool we probably don't have and probably can't buy. TIA

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN