Hi Kay,
The dialog load module starts with the FDB (Fixed Dialog Block). At
offset x'76' into the FDB, symbol table is on if you have a flag of
x'80'. Refer to ADS DSECT guide. When you read the dsect, #FLAG are
above the field that they're flagging.
Hope this helps,
Laura Rochon
Ajilon
Rozeboom, Kay [DAS] wrote:
Is there any way to determine, from a dialog load module alone,
whether or not diagnostics and symbol table are turned on?
Kay Rozeboom
State of Iowa
Information Technology Enterprise
Department of Administrative Services
Telephone: 515.281.6139 Fax: 515.281.6137
Email: Kay.Rozeboom@Iowa.Gov
"
IDMS Public Discussion Forum
IDMS-L@LISTSERV.IUASSN.COM
SMTP
IDMS-L@LISTSERV.IUASSN.COM
IDMS-L@LISTSERV.IUASSN.COM
SMTP
Normal
Normal
Re: Another ADS tuning question
"That's true if the program is defined as DYNAMIC which is the sysgen
default.
In other words, if a program is defined as dynamic, then it should be in
the first location within your loadlist. If it is nodynamic, then it
doesn't matter, as it will always be loaded (and executed) from the same
location. For example, let's presume your loadlist has the dictionary
load area first, then the cdmslib. If your program is loaded out of
the cdmslib, then for best performance, the program should be defined as
nodynamic. Otherwise, every time the program is called, the system must
verify if the program can be found in the dictionary since it's defined
as dynamic. When it doesn't find it in the dictionary, it says, okay,
the copy in the cdmslib can be used. If the program is defined as
nodynamic, then it will not verify if a copy of the program in the other
entries in the loadlist exists.
I hope I haven't confused you with this,
Laura
Chris Hoelscher wrote:
Kay - look at your loadlist as well - if you have loadlibs ahead of
loadareas, it really does not matter what is in a loadarea load
module if there is a loadlib load module for the program executing first
At 14:34 5/15/2007, you wrote:
Is there any way to determine, from a dialog load module alone, whether
or not diagnostics and symbol table are turned on?
Kay Rozeboom
State of Iowa
Information Technology Enterprise
Department of Administrative Services
Telephone: 515.281.6139 Fax: 515.281.6137
Email: Kay.Rozeboom@Iowa.Gov
This is Chris Hoelscher and I approved this email
"
IDMS Public Discussion Forum
IDMS-L@LISTSERV.IUASSN.COM
SMTP
IDMS-L@LISTSERV.IUASSN.COM
IDMS-L@LISTSERV.IUASSN.COM
SMTP
Normal
Normal
Re: Another ADS tuning question
"Kay - look at your loadlist as well - if you have loadlibs ahead of
loadareas, it really does not matter what is in a loadarea load
module if there is a loadlib load module for the program executing first
At 14:34 5/15/2007, you wrote:
Is there any way to determine, from a dialog load module alone, whether
or not diagnostics and symbol table are turned on?
Kay Rozeboom
State of Iowa
Information Technology Enterprise
Department of Administrative Services
Telephone: 515.281.6139 Fax: 515.281.6137
Email: Kay.Rozeboom@Iowa.Gov
This is Chris Hoelscher and I approved this email
"
IDMS Public Discussion Forum
IDMS-L@LISTSERV.IUASSN.COM
SMTP
IDMS-L@LISTSERV.IUASSN.COM
IDMS-L@LISTSERV.IUASSN.COM
SMTP
Normal
Normal
Re: Another ADS tuning question
"Kay,
Here is a CULPRIT program that list dialogs with symbol table on.
PATH01 LOOAK-155 LOADHDR-156 SYMHDR-174
KEY LOOAK-KEY-155 'LOOK'
SEL LOADHDR-156 WHEN LOADHDR-SYMTABLEN-156 GT 0
01OUT 132 D PS
01SORT LOADHDR-MODNAME-156
0151 001 'DIALOG:'
0151 009 LOADHDR-MODNAME-156 SZ=8
0151 020 'VERSION:'
0151 029 LOADHDR-VERS-156 FM '999'
017160 TAKE
Joe S Cates, Database Analyst II
Information and Organizational Systems
Database Management/Unix Administration
Montgomery County Public Schools
Rockville, MD 20850
301-279-3697
joe_cates@mcpsmd.org