Posted: Wed Jun 21, 2006 3:56 am Post subject: what does this link edit for?About option order
Code:
File Edit Edit_Settings Menu Utilities Compilers Test Help
-------------------------------------------------------------------------------
VIEW SYS1.SAMPLIB(SMV0234) - 01.03 Columns 00001 00072
Command ===> Scroll ===> CSR
000004 //LKED EXEC PGM=IEWL,
000005 // PARM='LET,LIST,XREF,NCAL,RENT'
000006 //SYSPRINT DD SYSOUT=*
000007 //SYSLMOD DD DSN=SYS1DE1.SORTLPA,DISP=SHR,
000008 // UNIT=3390,VOL=SER=M1SDE1
000009 //SYSLIB DD DSN=SYS1DE1.SORTLPA,DISP=SHR,
000010 // UNIT=3390,VOL=SER=M1SDE1
000011 //SYSLIN DD *
000012 INCLUDE SYSLIB(ICEMAN)
000013 ORDER ICEMAN00,ICEINTE0,ABENDRTN,ICEINID0,ICEINT10,ICEDYNA0,ICEDYN10
000014 ORDER ICEEXIN0,ICEILST0,ICEFAUL0,ICEFORM0,ICEDEVT0
000015 MODE AMODE(ANY),RMODE(24)
000016 ENTRY ICEMAN
000017 ALIAS SORT
000018 ALIAS IERRCO00
000019 ALIAS IGHRCO00
000020 ALIAS SYNCSORT
000021 NAME ICEMAN(R)
000022 /*
000023 //
Quote:
The ORDER statement indicates the sequence in which control sections or
named common areas appear in the output program object or load module.
The control sections or named common areas appear in the sequence they are
specified on the ORDER statement. The syntax of the ORDER statement is:
I firstly thought they just want to give alias name to iceman. But why it use two 'ORDER's TO change the sequence of the control section?
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
Posted: Wed Jun 21, 2006 10:34 am Post subject:
Order cards are used for 2 reasons: performance and function. If the most commonly used CSECTs are contiguous, you can theoretically reduce paging and working set size because the infrequently used CSECTs will be paged out most of the time. The functional reason is that sometimes specific things have to be at the start of the load module such as vectors of pointers into the other CSECTs, a BMS map, or any other data that external modules may want to access by their location within the load module.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum