| [Home] [Products] [Support] [Documents] [Partners] [Contact Us] [Search] | © 1998-2007 Gilbert Saint-Flour |
|
The LINKMAP TSO/E command reads existing load-modules and program objects and prints or displays their link-edit maps in the TSO/E or ISPF environment. LINKMAP runs in the batch and on-line environments on OS/390 and z/OS and supports Load-Libraries (PDS) as well as Program Libraries (PDSE). HighlightsLINKMAP helps programmers, consultants and auditors quickly obtain an enhanced link-edit map in a format similar to that produced by the DFSMS Binder. In addition, LINKMAP performs the following:
LINKMAP is an affordable product. A free, time-limited version is available for evaluation. |
LINKMAP is a TSO/E command and standard TSO/E rules for command syntax apply. Below is a list of options and parameters which can be specified. Please refer to the sample JCL for coding examples.
| LINKMAP | (defaults) |
| dsname | Mandatory |
| MEMBERS(member filters) | n/a |
| EXCLUDEMEMBERS(member filters 2) | n/a |
| CSECTS(symbol filters) | * |
| EXCLUDECSECTS(symbol filters 2) | n/a |
| VOLUME(volser) | catalog |
| LastReferenceDate(KEEP|UPDATE) | KEEP |
| SHR|OLD | SHR |
| BASE(address)|TUCK | BASE(0) |
| TEXT|NOTEXT | NOTEXT |
| PUTLINE|SYSPRINT|BRIF | see note |
When no member name is specified in the LINKMAP command, all of the members of the specified load-library are processed. The entire load-library is also processed when MEMBERS(*) is specified. The user can press the ATTN key to terminate the processing.
The user can limit the processing by specifying which member (or members) should be processed, as follows:
LINKMAP checks the name of each CSECT (SD-type symbol) found in a member against the lists of symbols specified in the CSECTS and/or EXCLUDECSECTS operands, when specified. If CSECTS is not specified, CSECTS(*) is assumed. If one or more CSECTs in a member pass the test (i.e. match the CSECTS filters and does not match any of the EXCLUDECSECTS filters), the corresponding link-edit map is generated.
LINKMAP can be invoked in the ISPF on-line environment, for example via the TSO command, or by entering LINKMAP in the command window of an enhanced member list. LINKMAP can also be invoked by entering LINKMAP in the command window of a data set list, in which case LINKMAP processes the entire load-library.
When LINKMAP runs in the ISPF on-line environment, the default output mode is automatically set to BRIF unless the PUTLINE or SYSPRINT options are specified. When the BRIF output mode is used, the link-edit maps are displayed via the BROWSE Interface (BRIF). In the ISPF V5 environment, the V command can be used to switch from BROWSE to VIEW, thereby allowing the user to enter EDIT commands such as CREATE or CUT, or EDIT macros such as ROUTE.
When LINKMAP is invoked to produce several maps, it desynchronises the building of the maps from their displaying via the BRIF interface, allowing the user to see the first map as soon as it is produced. Additional maps are made visible as they are are produced, each time the user presses the Enter key or enters the DOWN command. Entering the END command terminates LINKMAP's processing.
LINKMAP runs as a TSO command on-line or in batch. The following sample job stream shows how to set up a TMP job step to execute several LINKMAP commands in a batch job.
//LINKMAP3 JOB (acct#),'LINK MAP',CLASS=U,MSGCLASS=H //* //* Generate Link-Edit Maps //* //LINKMAP EXEC PGM=IKJEFT01 //STEPLIB DD DSN=<LINKMAP Load Library>,DISP=SHR //SYSTSPRT DD SYSOUT=* //SYSTSIN DD * /* Process a single program */ LINKMAP 'SYS1.LINKLIB(AMBLIST)' /* Process an entire library */ LINKMAP 'SYS1.LINKLIB' or LINKMAP 'SYS1.LINKLIB' MEMBERS(*) /* Process selected programs */ LINKMAP 'SYS1.LINKLIB' MEMBERS(ADRDSSU IEB* %MA* ) XMEM(IEBDG) /* Process programs which contain the specified CSECTs */ LINKMAP 'APPL.LOADLIB' MEMBERS(PAY1* PAY2*) CSECT(SUB0* SUB1472) XCSECT(SUB011 SUB%2*) /* Process a single program in an uncataloged library, show TEXT */ LINKMAP 'SYS1.LINKLIB(AMBLIST)' VOL(NEWRES) TEXT /*
A sample output listing produced by LINKMAP is available.
Search key-words: ibm mvs os/390 os390 z/os zos clist rexx os/vs load-module analyse analyser analyze analyzer analysis identify compile date compiler translator tool data id cobol assembler pl/1 pl1 pl/i pli link-edit map link-edit date linkdate lkeddate csect list report idr data esd cesd rld txt cross-reference xref determine extract display date load-library load-libraries loadlib lib load-module length date load-modules lengths le language environment compilation options program library program object objects pds pdse pds/e binder linkage editor linkedit link edit lked properties attributes attr attrib rent reus amode a24 a31 aany amin rmode rany r24 compilation date time signature product code codes idrdata load object module modules generic wildcard wildcards wild-card wild-cards partially-qualified fully-qualified determine module entry points terminal utility batch delink relink amblist iehlist 5740-cb1 5740cb1 5740cb103 5752SC104 566528408 566529508 5695DF108 5695PMB01