IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Finding Assembler programs


IBM Mainframe Forums -> PL/I & Assembler
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
M Lee Klein

New User


Joined: 08 Feb 2022
Posts: 39
Location: USA

PostPosted: Thu Feb 23, 2023 8:56 pm
Reply with quote

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
View user's profile Send private message
sergeyken

Senior Member


Joined: 29 Apr 2008
Posts: 2127
Location: USA

PostPosted: Thu Feb 23, 2023 9:26 pm
Reply with quote

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
View user's profile Send private message
M Lee Klein

New User


Joined: 08 Feb 2022
Posts: 39
Location: USA

PostPosted: Thu Feb 23, 2023 9:58 pm
Reply with quote

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
View user's profile Send private message
sergeyken

Senior Member


Joined: 29 Apr 2008
Posts: 2127
Location: USA

PostPosted: Thu Feb 23, 2023 10:39 pm
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8700
Location: Dubuque, Iowa, USA

PostPosted: Fri Feb 24, 2023 12:44 am
Reply with quote

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
View user's profile Send private message
M Lee Klein

New User


Joined: 08 Feb 2022
Posts: 39
Location: USA

PostPosted: Fri Feb 24, 2023 1:14 am
Reply with quote

Thats a great idea and a reason to learn SAS. Thanks!
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> PL/I & Assembler

 


Similar Topics
Topic Forum Replies
No new posts Finding and researching jobs All Other Mainframe Topics 0
No new posts VB to FB - Finding LRECL SYNCSORT 4
No new posts Fetch data from programs execute (dat... DB2 3
No new posts Passing Parameters to Programs Invoke... PL/I & Assembler 5
No new posts Build dataset list with properties us... PL/I & Assembler 4
Search our Forums:

Back to Top