Rational Developer for System z
Enterprise PL/I for z/OS, Version 4.2, Language Reference

HBOUNDACROSS

HBOUNDACROSS returns a FIXED BINARY value specifying the current upper bound of a DIMACROSS reference x.

Read syntax diagramSkip visual syntax diagram>>-HBOUNDACROSS(x)---------------------------------------------><
 
x
DIMACROSS reference.

Under the CMPAT(V3) compiler option, HBOUNDACROSS returns a FIXED BIN(63) value. Under the CMPAT(V2) and CMPAT(LE) compiler options, HBOUNDACROSS returns a FIXED BIN(31) value, while under the CMPAT(V1) compiler option, it returns a FIXED BIN(15) value.

The following example shows the use of HBOUNDACROSS:

     dcl jx fixed bin(31);

     dcl
       1 a,                            
         2 b fixed bin,                
         2 c fixed bin;                
     dcl 1 xa( 100 ) like a dimacross; 
    
     ... 

     do jx = 1 to hboundacross(xa);  
       a = xa, by dimacross(jx);     
       ...                           
     end;                            

Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)