On Wed, 11 Jan 2012 17:24:57 -0500 Patrick Roehl <[email protected]>
wrote:

:>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?

How about reading the IDR records?

:>2) How do I navigate to the COBOL compile timestamp?

Via the LE PPA pointer.

--
Binyamin Dissen <[email protected]>
http://www.dissensoftware.com

Director, Dissen Software, Bar & Grill - Israel


Should you use the mailblocks package and expect a response from me,
you should preauthorize the dissensoftware.com domain.

I very rarely bother responding to challenge/response systems,
especially those from irresponsible companies.

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

Reply via email to