View previous topic :: View next topic
|
Author |
Message |
M Lee Klein
New User
Joined: 08 Feb 2022 Posts: 39 Location: USA
|
|
|
|
I am not an assembler programmer but have been tasked with finding and documenting the user written assembler programs still in use. I am a DBA and the previous DBA was both a system engineer and DBA and has passed away.
How do you differentiate between system, application and user written assembler programs other than where they are stored? Is there a way to search for assembler programs created by a specific userid?
Any tips would be greatly appreciated.
MK |
|
Back to top |
|
|
sergeyken
Senior Member
Joined: 29 Apr 2008 Posts: 2127 Location: USA
|
|
|
|
If your company has no established standard procedures for development of homemade programs, and their further promotion to the production environment, then you have no chance to find the sources of the used load module. Often ENDEVOR, or Change Manager might be used to automate this process.
This is especially true if you do not understand in depth the process of compilation, and binding (e.g. linkage editing) of the program code, and/or the structure of the load module itself. |
|
Back to top |
|
|
M Lee Klein
New User
Joined: 08 Feb 2022 Posts: 39 Location: USA
|
|
|
|
I'm going to look in various source libraries for objects created by this userid.
How can I know if code is being executed or if it's obsolete? Other than looking at the source code, is there a way to determine it is compiled assembler rather than COBOL or other language? |
|
Back to top |
|
|
sergeyken
Senior Member
Joined: 29 Apr 2008 Posts: 2127 Location: USA
|
|
|
|
M Lee Klein wrote: |
I'm going to look in various source libraries for objects created by this userid.
How can I know if code is being executed or if it's obsolete? Other than looking at the source code, is there a way to determine it is compiled assembler rather than COBOL or other language? |
There are specific fragments of a load module compiled from any hi-level language; can be found in the listing after compilation of ANY module in that language.
There are no standard mandatory parts for any Assembler code.
There is no way to detect for sure the "obsolete" versions of source code based on the load module, unless standard procedures have been used for its creation, and operations logs have been stored by an automated system. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
Quote: |
How can I know if code is being executed or if it's obsolete? |
Almost 20 years ago I wrote a small system using SAS to maintain a VSAM data set with last execution date of programs. It read the SMF records each week to extract batch program executions, sorted them down, and update the VSAM data set. Unless you do something similar, there is no way to determine which programs are in use or are obsolete. z/OS doesn't maintain anything with that information. |
|
Back to top |
|
|
M Lee Klein
New User
Joined: 08 Feb 2022 Posts: 39 Location: USA
|
|
|
|
Thats a great idea and a reason to learn SAS. Thanks! |
|
Back to top |
|
|
|