JCL Help:MapByLevel
From Project JEDI Wiki
Jump to navigationJump to searchJCL Help: MapByLevel Function
Search in JCL Help
Search in all projects
Summary
Returns the file name, unit name, procedure name and line number at which a routine is executing.
Pascal
function MapByLevel(const Level: Integer; var File_: string; var Module_: string; var Proc_: string; var Line_: Integer): Boolean;
Parameters
Parameters | Description |
const Level: Integer | Caller level for which you want to get location information. 0 is the currently executing routine, 1 is the caller, 2 is the caller of the caller, etc. |
_File | File name of the routine specified by Level |
_Module | Unit name of the routine specified by Level |
_Proc | Procedure name of the routine specified by Level |
_Line | Line number of the routine specified by Level |
Return Value
Returns True if the information was found, otherwise False.
Description
MapByLevel combines the FileByLevel, ModuleByLevel, ProcByLevel and LineByLevel routines into a single call.
See Also
FileByLevel ModuleByLevel ProcByLevel LineByLevel FileOFAddr ModuleOfAddr ProcOfAddr LineOfAddr MapOfAddr
About
Unit
Donator
Petr Vones
Notes
Usage of this function requires building the module with a detailed map file. Use the Linker tab in the Project Options dialog to enable creation of a map file.
Contribute to this help topic
This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page