Date and timestamp in load object

 

AMBLIST to generate stats about a object load
 
 
The following JCL can be used to find date when a load was created. 
 
If the input member is the object load of a module the date when the load was generated would be listed.
 
If the input is a composite link then the details of all the load objects referenced by the link
would be listed.
 
 
//AMBLIST  JOB (XXXXXXXX,,,,,XXXX),'               ',  
//             CLASS=T,MSGCLASS=Y,                     
//             REGION=0M,                              
//             NOTIFY=&SYSUID                          
//AS10 EXEC PGM=AMBLIST                                
//SYSPRINT DD SYSOUT=*                                 
//SYSOUT DD SYSOUT=*                                   
//STEPLIB DD DSN=SYS1.LINKLIB,DISP=SHR                 
//MYLOAD DD DSN=USERID.ABC.LOADLIB,DISP=SHR            
//SYSIN DD *                                           
 LISTIDR DDN=MYLOAD,MEMBER=OBJLOAD                     
/*                                                     
//*                         
 
For more information on this IBM's utility AMBLIST, please visit 
 
http://publib.boulder.ibm.com/infocenter/zos/v1r9/index.jsp?topic=/com.ibm.zos.r9.ieav100/ambrdg.htm
 
 
The other method of finding the date when a load was created is by looking at the laod member in the load library.
For this open the load member in ISPF browser.
 
1. switch to HEX mode by providing "HEX ON" on command line.
2. Execute command 
FIND X'80FA01' FIRST
 
3. Now look at the next record.
4. The date starts at the 16th and ends at 18th position in the next record in Julian format
 
 
----+----1----+----2----+---
 ---------------------------
س..........................
8F00000000000000000000000000
0A10000000000000000000000000
 ---------------------------
Ø..5695PMB01 ....±.äá|      
810FFFFDDCFF4001280444      
05256957420101908F035F                         
 
 
Date in above example is 10288 that is 288th day of year 2010 (15th oct 2010)

Comments

Yes, that is good. But, what if the load module is in a PDSE?