Thanks for this thread. I knew there was a way to do this, but not having touched VSE since 2005 or so...

Does VSE still use a CIL (Core Image Library)? Or is everything relocatable now?

Steve Thompson

On 12/4/2023 3:05 PM, Dave Clark wrote:
"IBM Mainframe Assembler List" <ASSEMBLER-LIST@LISTSERV.UGA.EDU> wrote on
12/04/2023 02:16:08 PM:
Is it possible to influence the order the linkage editor includes
objects?


         I found an answer that works for z/VSE.  After cataloging the main
object for my load module, I use the following linkage editor statements
to specify the order I want for my included objects and the linkage editor
honors this specified order.

// LIBDEF PHASE,CATALOG=DAP.PROD,TEMP
// OPTION CATAL
    PHASE  RXVSAMIO,*
    INCLUDE RXVSAMIO
    INCLUDE RXVSAMBK
    INCLUDE RXVSAMBR
    INCLUDE RXVSAMXA
    INCLUDE RXVSAMXR
    INCLUDE DTEMAN
    INCLUDE IEANTCR
    INCLUDE IEANTRT
// EXEC   PGM=LNKEDT,SIZE=128K
/* EOD


CSECT/    LOADED   RELOC.  PARTIT. PHASE   TAKEN  AMODE/RMODE
ENTRY     AT       FACTOR  OFFSET  OFFSET  FROM
-------------------------------------------------------------
RXVSAMIO 500078  500078  507D05                      24  24
-------------------------------------------------------------
RXVSAMIO  500078   500078  000000  000000  RXVSAMIO  24  24
RXVSAMBK  502E78   502E78  002E00  002E00  RXVSAMBK  24  24
RXVSAMBR  504078   504078  004000  004000  RXVSAMBR  24  24
RXVSAMXA  505378   505378  005300  005300  RXVSAMXA  24  24
RXVSAMXR  506778   506778  006700  006700  RXVSAMXR  24  24
DTEMAN    507678   507678  007600  007600  DTEMAN    31 ANY
IEANTCR   507C78   507C78  007C00  007C00  IEANTCR   31 ANY
IEANTRT   507CC0   507CC0  007C48  007C48  IEANTRT   31 ANY


Sincerely,

Dave Clark

Reply via email to