JCL Help:MAP
JCL Help: __MAP__ 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 __MAP__(const Level: Integer; var _File: string; var _Module: string; var _Proc: string; var _Line: Integer): Boolean; deprecated;
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. |
var _File: string | File name of the routine specified by Level |
var _Module: string | Unit name of the routine specified by Level |
var _Proc: string | Procedure name of the routine specified by Level |
var _Line: Integer | Line number of the routine specified by Level |
Return Value
Returns True if the information was found, otherwise False.
Description
__MAP__ combines the __FILE__, __MODULE, __PROC__ and __LINE__ routines into a single call.
See Also
__FILE__ __MODULE__ __PROC__ __LINE__ __FILE_OF_ADDR__ __MODULE_OF_ADDR__ __PROC_OF_ADDR__ __LINE_OF_ADDR__ __MAP_OF_ADDR__
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. This function is obsolete. Use MapByLevel instead.
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