Given a load library and a list of member names, I want to be able to
perform these steps in a batch assembler program:

1) Load a program load module into storage
2) Determine if the program is COBOL or something else (the only other thing
it would likely be is assembler)
3) If COBOL, access the compile timestamp.  From casual observation this
appears to be in the form of YYYYMMDDHHSS and prefixed with the PROGRAM-ID.

I assume a standard LOAD can be used to load the module into storage for
inspection.  The questions are: 

1) Is there a sure-fire way to determine if the loaded program is COBOL?
2) How do I navigate to the COBOL compile timestamp?

The programs only need to be identified as Enterprise COBOL or not.

Thanks for any tips, pointers, and references you can provide.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to