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 specifiedInput: CODEFILE - 5C
CODEFILE title deleted for stack 5CCODEFILE 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 1FE
Codefile Info for Stack 023A 4582/4582 *SYSTEM/SOCKETROUTER.
Segment Dictionary Stack 0225 *SYSTEM/SOCKETROUTER ON DISK.
Creation Timestamp: Mon, March 6, 2017 13:37:09
Releaseid: "MCP 60 [60.016.000] (60.016.0003)"Codefile Segment Zero Analysis: (S0PROG_LEVEL = 5):
[00] 0503C0100003 Version 60.016.0003
[01] 010000000000 Libword
[02] 000000000002 Entry Point
[03] 00000000100E Codefile Size
[04] F0F3F0F6F1F7 Compiledate 03/06/17
[05] 0004C1AB0170 Compiletime 13:37:09
[06] 000000000700 Parameters = 0
[07] 00000002139E Core Est. = 136094
[08] 8200083C0010 CompilerInfo
[09] 0003C0100013 Min Compiler Version
[10] 0003C0100013 Max Compiler Version
[11] 000000000000
[12] 010000800E29 FPB Descriptor(Record = 3625, Length = 8)
Specified Attributes:
Name = SYSTEM/SOCKETROUTER
[13] 000000000000
[14] 000000000000
[15] 800000000976 Stack Size = 2422
[16] 010014600E00
[17] 000000000000 Intrinsic Table
[18] 000010400E1D D[1] Descriptor
[19] 0000000001ED Local Count = 493
[20] 000000000000 WS-Limit = 0
[21] 000000000000 Job Params/Environment
[22] 000000000000
[23] 00000000017B Executions = 379
[24] 2395CE9DE3F4 D[1] WS-Avg = 44661
[25] 24F81778AE7C RUN WS-Avg = 3843
[26] 000000000000 Log Start
[27] 000000000000 Stack Desc.
[28] 000000000000 Instruction Dope
[29] 000000000000
[30] B7D96334086B Timestamp Mon, Mar 6, 2017 17:45:11Compiler Info:
IPC Capable
LIBRARY Capable, SHARING=SHAREDBYALLCompiler Version:
DCALGOL
Min version 60.016.0019
Max version 60.016.0019Options Set:
No Options SetCode Generation Level = 7:
$TARGET = LEVEL6 (Eta)
