Maybe there were no messages that you saw, but that doesn't mean there 
were no messages. Did you happen to look at the
Diagnostic Cross Reference and Assembler Summary
section of the listing? 

PRINT OFF affects what is displayed. IHAPSA by default is PRINT OFF. You 
have control of that via the LIST keyword. The PC(ON) assembler option can 
be a useful tool as that will show everything regardless of PRINT OFF.

FWIW, this test program 
TEST    CSECT 
        IHAPSA 
        IHAPSA 
        IHAASCB 
        IHAASCB 
        END   TEST 
finishes on my system with CC 20 and has no difference in the listing 
between FLAG(0) and FLAG(8), but PC(ON) shows the messages which near the 
end has
** ASMA043E Previously defined symbol - PSAIORTY  
** ASMA257U Number of severity 8 messages exceeds FAIL MAXERRS value 
specified 

(Our FAIL(MAXERRS) default is apparently 500; with a larger FAIL(MAXERRS) 
the assembly does get CC 8) 

Since the assembly terminates upon ASMA257U (well, almost terminates, as 
there still are a few things that get shown in the listing after that) 
things like the "POP" at the end of IHAPSA don't happen. But that wouldn't 
help you much since all the error messages are within the PRINT OFF 
section.

Perhaps the assembler team would consider displaying ASMA257U even if 
PRINT OFF is in effect.

Regardless, PC(ON) can be your friend.


Peter Relson
z/OS Core Technology Design

Reply via email to