LINK Produces an executable program SYNTAX LINK[/options] filespecs SEMANTICS Filespecs are the object files to be linked; separate them with commas (,). Default file types are .OBJ for input files, .MAP for map output files, and .SAV for memory image output files. OPTIONS ALLOCATE:size Reserves space for an output file ALPHABETIZE Lists global symbols on the link map in alphabetical order BITMAP (default) Outputs the program bit map BOTTOM:n Specifies the lowest address to be used by the linked program BOTTOM:n:DAS (used with /IDSPACE only) Specifies the lowest Data space address to be used by the linked program BOTTOM:n:INS or BOTTOM:n (used with /IDSPACE only) Specifies the lowest Instruction space address to be used by the linked program BOUNDARY:value Starts a specific program section on a particular address boundary BOUNDARY:n:DAS (used with /IDSPACE only) Starts a specific Data space program section on a particular address boundary BOUNDARY:n:INS or BOUNDARY:n (used with /IDSPACE only) Starts a specific Instruction space program section on a particular address boundary DEBUG[:filespec] Links ODT or the debugging program you specify with your program DUPLICATE Allows multiple copies of library/user routines in overlays EXECUTE[:filespec] Specifies the name of the memory image file EXTEND:n Extends a program section to the size you specify EXTEND:n:DAS (used with /IDSPACE only) Extends a Data space program section to the size you specify EXTEND:n:INS or EXTEND:n (used with /IDSPACE only) Extends an Instruction space program section to the size you specify FILL:n Initializes unused locations in the memory image file to the value you specify FILL:n:DAS (used with /IDSPACE only) Initializes unused locations in the Data space portion of the memory image file to the value you specify FILL:n:INS or FILL:n (used with /IDSPACE only) Initializes unused locations in the Instruction space portion of the memory image file to the value you specify FOREGROUND[:stacksize] Links the program for foreground execution GLOBAL Includes crossreference listing of global symbols in link map IDSPACE Generates an extended SAV image file which separates Instruction and Data space. Several other options are modified based on the presence of this option INCLUDE Accepts specific global symbols by name for inclusion in the memory image file LDA Produces a file in absolute binary loader format LINKLIBRARY[:filespec] Includes the file you specify as a library in the link operation MAP[:filespec] Generates a load map NOBITMAP Does not output the program bit map if there is code below location 400. When uses with /IDSPACE, causes both the Instruction and Data space bitmaps to be suppressed. NOEXECUTE Suppresses creation of the memory image file PROMPT Indicates that there is more than one line of input to the linker ROUND:n Rounds up a specific program section so that the root is a multiple of the value you specify ROUND:n:DAS (used with /IDSPACE only) Rounds up a specific Data space program section so that the Data space root is a multiple of the value you specify ROUND:n:INS or ROUND:n (used with /IDSPACE only) Rounds up a specific Instruction space program section so that the Instruction space root is a multiple of the value you specify RUN Initiates execution of the linked program SLOWLY Uses the largest possible area for the symbol table during the link operation STACK[:n] Specifies the stack address for the linked program. If used with /IDSPACE and 'n' is not specified, the stack symbol is verified to be in Data space. SYMBOLTABLE[:filespec] Generates a symbol table file TOP:n Specifies the highest address to be used by the linked program TOP:n:DAS (used with /IDSPACE only) Specifies the highest address to be used by the Data space code in the linked program TOP:n:INS or TOP:n (used with /IDSPACE only) Specifies the highest address to be used by the Instruction space code in the linked program TRANSFER[:n] Specifies the starting address of the linked program. If used with /IDSPACE and 'n' is not specified, the transfer symbol is verified to be in Instruction space. WIDE Produces a load map that is 132 columns wide XM Specifies that a job to be run under a mapped monitor requires the special SETTOP features EXAMPLES LINK MYPROG LINK RTN1,RTN2,MYPROG/EXECUTE LINK/MAP:MAPFIL PROG1,PROG2 LINK/IDSPACE/BOTTOM:1000:INS PROG1,PROG2
7328 Bradley Blvd
Bethesda, MD 20817
Voice:+1 301 767 5917
Fax:+1 301 767 5927
Email:shoppa@trailing-edge.com