I'm modifying an existing program, and even with GOFF and SECTALGN(4096)
specified it seems to want a CATTR with ALIGN(12) on the section the table
resides in, and when I added the CATTR it failed with ASMA155S.  I've never
used GOFF before so am not familiar with when to use CATTR and when to use
RSECT/AMODE/RMODE but the existing entry macro generates the latter and I'm
having difficulty getting CATTR to assign the alignment attribute to the
existing rsect.

Robert Ngan
CSC Financial Services Group


|------------>
| From:      |
|------------>
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
  |Tom Marchant <[email protected]>                                      
                                                                     |
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| To:        |
|------------>
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
  |[email protected]                                              
                                                                     |
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Date:      |
|------------>
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
  |2011/09/27 12:55                                                             
                                                                     |
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Subject:   |
|------------>
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
  |Re: Page alignment requirement for TROT table                                
                                                                     |
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|





On Tue, 27 Sep 2011 11:36:25 -0500, Robert Ngan wrote:

>That's what the PAGE statement is for, to properly align the csect.

I understand that, but the PAGE statement is a directive to the binder,
not to the assembler.  If you want the assembler to handle it, that is
what GOFF is for.

Why don't you want to use GOFF?

--
Tom Marchant

>Tom Marchant wrote:
>
>
>On Mon, 26 Sep 2011 18:53:44 -0500, Robert Ngan <[email protected]> wrote:
>
>>I'm currently PUNCHing out a PAGE statement.  It's just annoying that the
>>assembler will not allowing me to use ORG ,4096 but does allow my
>>convoluted DC which does the same thing.
>
>Your "convoluted DC" ensures that the translate table is an integral
>multiple of 4K bytes from the start of the CSECT, but unless the CSECT
>is on a page boundary, the table will not be.

Reply via email to