OK, so I've decided to use the TROT instruction to do arbitrary length
display hexadecimal conversion.  It seems that the translate table must be
aligned on a page boundary and I found that to align on a 4K boundary, I
should use the binder PAGE statement for the csect and specify:

         ORG   ,4096

before the translate table, but this ORG fails with:

ASMA500W Requested alignment exceeds section alignment

unless I specify SECTALGN(4096), which in turn cannot be used without GOFF,
which I'm not sure I want to use.

I've coded around the issue by replacing the ORG with:

         DC    ((((*-&SYSECT)+4095)/4096)*4096-(*-&SYSECT))X'00'

but I don't see why the assembler doesn't allow general use of ORG ,4096
when it's just the equivalent of trhe above.
Maybe it should automatically generate the equivalent of a binder PAGE
statement for sections containing ORG ,4096


Robert Ngan
CSC Financial Services Group

Reply via email to