Page 1 of 1

EXTRACT THE COMPILE DATE AND TIME FOR A LOAD MODULE.

Posted: Mon Sep 24, 2018 3:04 pm
by Rima Bali
Hi,

Will AMBLIST give the compile date and time of all the programs?

Actually, as we don't have any source code management toll in place yet. We approached the support to know the Compile Date and Time for a few programs. We had been told that IBM UTILITY AMBLIST will do that easily.

It works but if there are dynamic or static calls? What is there is an assembler program or CICS program? Will always work?

Code: Select all

//********************************************************
//* EXTRACT THE COMPILE DATE AND TIME FOR A LOAD MODULE.  
//* IF YOU OMIT THE MEMBER=XXXXXXXX                       
//* AMBLIST WILL PRINT ALL MODULES IN THE LOADLIB.        
//********************************************************
//AS10 EXEC PGM=AMBLIST                                   
//SYSPRINT DD SYSOUT=*                                    
//SYSOUT DD SYSOUT=*                                      
//STEPLIB DD DSN=SYS1.LINKLIB,DISP=SHR                    
//MYLOAD DD DSN=XXXXXX.XXXX.LOADLIB,DISP=SHR              
//SYSIN DD *                                              
  LISTIDR DDN=MYLOAD,MEMBER=XXXXXX                        
/*                                                        
//*

Re: EXTRACT THE COMPILE DATE AND TIME FOR A LOAD MODULE.

Posted: Mon Sep 24, 2018 4:06 pm
by nicc
Why not look at some of these called modules and see if you can see the information required?

Re: EXTRACT THE COMPILE DATE AND TIME FOR A LOAD MODULE.

Posted: Mon Sep 24, 2018 5:28 pm
by Robert Sample
Will AMBLIST give the compile date and time of all the programs?
AMBLIST does not give you the compile date and time -- it gives you the date and time of the linkage edit / bind (which most of the time will be very close to the compile date and time). Since it works with load modules or program objects, AMBLIST doesn't really know or care if the program is COBOL, assembler, or what -- the load module / program object format doesn't change based on the language. And dynamic calls use separate load modules for each subprogram, so they will NOT be included in the main program listing.

Re: EXTRACT THE COMPILE DATE AND TIME FOR A LOAD MODULE.

Posted: Wed Sep 26, 2018 8:05 pm
by Akatsukami
Robert Sample wrote: Mon Sep 24, 2018 5:28 pmAMBLIST does not give you the compile date and time -- it gives you the date and time of the linkage edit / bind (which most of the time will be very close to the compile date and time).
If there are no static links.