The CODEFILE command specifies either the code file or disk family name to be used when DUMPANALYZER requires a code file. This command applies only to code files other than MCP code files.
By default, DUMPANALYZER searches for code files with the same file name and family name as those on the dumping system. Sometimes this method gives erroneous results (such as misleading line information) because the code file on the dumping system can be older, newer, or entirely different than the code file on the analyzing system. This situation can occur even when the code files have exactly the same titles. You can use the CODEFILE command to specify a correct code file for DUMPANALYZER to use.
Note that when DUMPANALYZER searches for a code file, it searches first without using family substitution and then using family substitution.
Syntax
── CODEFILE ─┬─────────────────────────────────────┬───────────────────┤ ├─ FAMily ─┬──────────────────────────┤ │ ├─<family name>────────────┤ │ ├─ . ──────────────────────┤ │ └─ ─ ──────────────────────┤ ├─────────────────────────────────────┤ ├─<stack id>─┬────────────────────────┤ │ ├─ " ──<file title>── " ─┤ │ ├─ INFO ─────────────────┤ │ └─ ─ ────────────────────┤ ├─────────────────────────────────────┤ ├─ INFO ──<stack id>──────────────────┤ ├─────────────────────────────────────┤ └─ ─ ─┬─ FAMily ──────────────────────┤ └─<stack id>────────────────────┘
Explanation
CODEFILE returns the code file family, a list of the stack numbers, and the code file names that you specified previously with the other forms of the CODEFILE command. Refer to “File Title” earlier in this section for an explanation of the rules for using quotation marks to specify a file title.
For program dumps, specification of a code file title for a segment dictionary stack causes the LINEINFO analysis to use the code file you specified instead of the LINEINFO value included in the RCW_INFO structure within the dump. The - option enables you to delete the current code file family or title associated with a particular segment dictionary stack.
Examples
Input: CODEFILE - FAMILY CODEFILE FAMILY not specified
Input: CODEFILE - 5C CODEFILE title deleted for stack 5C
CODEFILE FAMILY <family name>
Causes DUMPANALYZER to search for required code files on the specified disk family name. The specified family name overrides the family name that the code file had on the dumping system.
If both options are used, any family name specified in the <seg dict stack #> option overrides the CODEFILE FAMILY specification.
CODEFILE INFO <stackID>
Causes DUMPANALYZER to provide analysis of the segment zero information maintained in the disk file header for a segment dictionary stack. If a process stack is specified for the <stackID> parameter, the information for the codefile associated with the process stack is displayed.
Example
The following is an example of the output produced by the CODEFILE command with the INFO option.
INPUT: CODEFILE INFO 41
Codefile Info for Stack 041 1379/1379 *SYSTEM/CENTRALSUPPORT.
Segment Dictionary Stack 046 *SYSTEM/CENTRALSUPPORT ON DISK. Creation Timestamp: Mon, June 9, 1997 12:30:01 Releaseid: "SSR 44.2 (44.232.0029)"
Codefile Segment Zero Analysis: (S0LEVEL = 1):
[00] 010290FD001D Version 44.232.0029 [01] 010000000000 Libword [02] 0000000000CD Entry Point [03] 0000000005ED Codefile Size [04] 000008045244 Compiledate 08/15/94 [05] 00045E5AD39C Compiletime 12:30:30 [06] 200000000300 Parameters = 0 [07] 24480E000000 Core Est. = 18446 [08] 2600062900FB CompilerInfo [09] 000000000000 Priority = 0 [10] 000000000000 MaxProcTime = 0 [11] 000000000000 MaxIOTime = 0 [12] 0100009005EC FPB Descriptor [13] 000000000000 Options [14] 000000000000 (Unused) [15] 8000000002ED Stack Size = 749 [16] 0000012005EB SEPCOMP Compile-Info [17] 000000000000 Intrinsic Table [18] 00000CE0055A D[1] Descriptor [19] 0000000000E1 Local Count = 225 [20] 000000000000 WS-Limit = 0 [21] 000000000000 D[1] Est. = 0 [22] 000000000000 Restart Count = 0 [23] 000000000001 Executions = 1 [24] 241D8F9E5B52 D[1] WS-Avg = 7568 [25] 24411CA1B493 RUN WS-Avg = 16669 [26] 000000000000 Log Start [27] 000000000000 Stack Desc. [28] 000000000000 Instruction Dope [29] 800000000553 Symbolic Desc.
Compiler Info: IPC Capable LIBRARY Capable, SHARING=SHAREDBYALL
Compiler Version: NEWP 41.251
Options Set: No Options Set
Code Generation Level: Alpha (All A Series)