Tech or Treat! Write an article about your scariest tech disaster to win gadgets!Learn more

x
?
Solved

module-file and module-program

Posted on 2010-09-12
7
Medium Priority
?
567 Views
Last Modified: 2012-05-10
Hi,

I have to develop module-file and module-program reference.
how to do that.
Is there any way i can take these information and dump in a file.
or any api or file oniseries server which provides this information.
0
Comment
Question by:vinaym
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
7 Comments
 
LVL 14

Expert Comment

by:daveslater
ID: 33659982
you can use the dsppgmref, dspfd , dspffd commands to generate the info for programs & files
service programs are a bit harder.

Dave
0
 

Author Comment

by:vinaym
ID: 33664670
DSPPGMREF is applicable to dump program references that I already know.
but I need to dump module reference information and for this I need your help.
0
 
LVL 14

Expert Comment

by:daveslater
ID: 33669824
Do you know how to create service programs, how to add bindind directory entries?

Dave
0
Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

 
LVL 27

Expert Comment

by:tliotta
ID: 33688124
I have to develop module-file and module-program reference.

I'm not aware of any way to create a "module-file" cross-reference. The only such cross-reference that might be generated is at the program level, not the module level; and you can't query a module to ask what files are referenced by it. Further, it might not be worth much since a file object can be accessed dynamically; the module might not have any reference to a file but still access it. Pointing to different files by way of OVRDBF is a simple example.

A "module-program" reference is fairly easy to generate. The List ILE Program Information (QBNLPGMI) API can provide a list of modules for each program. Store the entries into a table and retrieve the entries by module name to select which programs a module is bound into. But that shouldn't be very useful either -- if a module will be in more than one program, it ought to be in a service program. But there are reasons for binding some modules 'by copy' rather than 'by reference'.

Tom
0
 

Author Comment

by:vinaym
ID: 33718315
Hi,

Actually the need is, there is file which is declared in some of the modules and these modules are compiled in many programs. I have no idea how many are they.

I have to add few fields to the file and recompile the module and program which are using these modules. But first I have to see the impact . Due to this, better to develop a tool like that.

Answers to Dave's question, yes I am aware of service programs and how to add them in binding directory.

0
 
LVL 14

Accepted Solution

by:
daveslater earned 1500 total points
ID: 34246051
Hi
am I missing somthing. If you simply want the DSPPGMREF info for all program objects then use

DSPPGMREF PGM(MYLIB/*ALL) OBJTYPE(*ALL)

this does
*PGM    
*SQLPKG  
*SRVPGM  
*MODULE  
object types

Dave
0
 

Author Closing Comment

by:vinaym
ID: 36235993
answer did not meet requirement
0

Featured Post

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

With its various features, Office 365 can not only help you with your day-to-day business tasks, it can also do wonders for your marketing campaign.
What monsters are hiding in your child's room? In this article I will share with you a tech horror story that could happen to anyone, along with some tips on how you can prevent it from happening to you.
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Suggested Courses

647 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question