- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: How to create a listing of called programs (ne...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-05-2010 08:30 AM
тАО03-05-2010 08:30 AM
How to create a listing of called programs (nested tree)
PROGA.COB (program-id=PA)
|
|--> PROGB.COB (program-id=PROGRAM_B)
|
|--> PROGC.COB (program-id='test')
|--> PROGD.COB (program-id='test2)
I am hoping there is some sort of sourcecode parser available to generate data where I could query to find all programs that execute from a base program instead of manually editing, finding, documenting...
Thanks,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-05-2010 08:37 AM
тАО03-05-2010 08:37 AM
Re: How to create a listing of called programs (nested tree)
I always view source analysis tools with a degree of suspicion. That is not to say that they do not work. It is more a statement of the limitations of the technique.
The LINK/CROSS_REFERENCE produces a cross reference of what is actually in the image.
A cautionary note, if the LINKER cross reference shows calls to a shareable library that is connected at execution-time, there may be more than one set of sources extant with the same names.
- Bob Gezelter, http://www.rlgsc.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-05-2010 09:57 AM
тАО03-05-2010 09:57 AM
Re: How to create a listing of called programs (nested tree)
http://ctags.sourceforge.net/
and purportedly runs on VMS:
http://www.polarhome.com/ctags/
Never used it myself, but it looks promising. At first blush it looks as though the information you want is implicit in the TAGS files it generates but you'd need something else to actually draw the tree.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-05-2010 05:19 PM
тАО03-05-2010 05:19 PM
Re: How to create a listing of called programs (nested tree)
Of course it wouldn't catch indirect or virtual calls or COBOL CALL identifier.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2010 05:43 AM
тАО03-08-2010 05:43 AM
Re: How to create a listing of called programs (nested tree)
Thanks,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2010 09:36 AM
тАО03-08-2010 09:36 AM
Re: How to create a listing of called programs (nested tree)
I was always disappointed there wasn't a non-DECwindows report available for that feature.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2010 03:36 PM
тАО03-08-2010 03:36 PM
Re: How to create a listing of called programs (nested tree)
If your programs are linked into shareable images, the attached procedure will draw a call dependence tree for referenced shareable images.
(rewritten to work on IA64 from a very old procedure. Should work on IA64 and Alpha. Won't work on VAX as it is, but possibly could with an extra labels added "StartVAX:" immediately above "StartAlpha:" and "gsmatch_VAX:" above "gsmatch_Alpha:". I don't have a running VAX to test it on).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-09-2010 01:49 AM
тАО03-09-2010 01:49 AM
Re: How to create a listing of called programs (nested tree)
DECmigrate (AEST for Alpha and VEST for VAX) will create a flowgraph from
the executable file, even if don't have the sources available.
VEST
/FLOWGRAPH
Description
The flowgraph file contains information used by the FLOWGRAPH
command to create one or more PostScript(TM) formatted flowgraph
files. A flowgraph can be one of the following types:
o A call flowgraph that charts the image's calling structure and
includes the names of the called routines.
o An error flowgraph that charts the routines in the image that
incurred VEST error messages.
o A complete flowgraph that charts the program flow of the
entire image based on the code that VEST has found.
Use the /VIEW qualifier to select which of these three kinds
of flowgraphs to include in the flowgraph file and the /VIEW
qualifier keywords to select the kind of information to be
included within either an error or a complete flowgraph.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-09-2010 01:50 AM
тАО03-09-2010 01:50 AM
Re: How to create a listing of called programs (nested tree)
SHIML usage
$ MC your_disk:[your_dir]SHIML [-u] full_image_file_spec
-u: unique, no duplicates in shareable image names
Examples
$ mc sys$disk:[]shiml xyz.exe
recursive SHareable IMage dependency List (Alpha), version 1.1
[ -> Translated Logical Name ] Required Match: ID [ / Actual match: ID ]
[ (self) - Self Reference; (dnf) - Duplicate, Not Followed ]
X -> SYS$DISK:[]X.EXE - MATALL: 1,1 / MATALL: 1,1
Y -> SYS$DISK:[]Y.EXE - MATALL: 1,1 / MATALL: 1,1
Z -> SYS$DISK:[]Z.EXE - MATALL: 1,1 / MATALL: 1,1
X - MATALL: 1,1 (dnf)
SYS$PUBLIC_VECTORS
SYS$PUBLIC_VECTORS (dnf)
SYS$PUBLIC_VECTORS (dnf)
DECC$SHR -> SYS$SHARE:DECC$SHR_EV56 - MATLEQ: 1,1 / MATLEQ: 1,1
LIBRTL - MATLEQ: 1,1 / MATLEQ: 1,1
SYS$PUBLIC_VECTORS (dnf)
CMA$TIS_SHR - MATLEQ: 1,4 / MATLEQ: 1,4
CMA$TIS_SHR (self)
LIBRTL - MATLEQ: 1,1 (dnf)
LIBOTS - MATLEQ: 1,3 / MATLEQ: 1,3
SYS$PUBLIC_VECTORS (dnf)
SYS$PUBLIC_VECTORS (dnf)
LIBOTS - MATLEQ: 1,3 (dnf)
DPML$SHR - MATLEQ: 1,0 / MATLEQ: 1,0
DPML$SHR (self)
LIBOTS - MATLEQ: 1,3 (dnf)
LIBRTL - MATLEQ: 1,1 (dnf)
CMA$TIS_SHR - MATLEQ: 1,4 (dnf)
SYS$PUBLIC_VECTORS (dnf)
SYS$PUBLIC_VECTORS (dnf)
SYS$PUBLIC_VECTORS (dnf)
$
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-09-2010 06:08 AM
тАО03-09-2010 06:08 AM
Re: How to create a listing of called programs (nested tree)
Thanks,
John