Previous Topic Next topic Print topic


Example PL/I Structure Declaration

The following shows the result of a PL/I declaration. This sample was generated using the Generate Indicator Variables option.

DECLARE
  1 DCLEMPLOYEE, 
  5 E_NO BIN FIXED(15), 
  5 LNAME CHAR(10), 
  5 FNAME CHAR(10), 
  5 STREET CHAR(20), 
  5 CITY CHAR(15), 
  5 ST CHAR(2), 
  5 ZIP CHAR(5), 
  5 DEPT CHAR(4), 
  5 PAYRATE DEC FIXED(15, 2), 
  5 COM DEC FIXED(2, 2); 
  DCL IEMPLOYEE(10) BIN FIXED(15);

Notice that the array of indicator variables was generated for you.

Previous Topic Next topic Print topic