Friday 8 August 2014

PL/I - Programming Guide - Free Download

http://sriniforum.bestfreeforum.ca
SriniForum
BIT Attribute 

The BIT attribute specifies that the data item named in the DECLARE statement is represented as a bit
string consisting of a certain number of bits. The BIT attribute may appear in two forms:
BIT( length)
BIT(length) VARYING



[JOIN PL/I Forum to discuss your doubts]

Declaration of PL/I record:

DECLARE
1 PAYROLL-RECORD,
   3 MAN-NUMBER CHARACTER (6),
   3 NAME,
     27 LAST CHARACTER (15),
      27 FIRST CHARACTER (15),
     27 MIDDLE CHARACTER (10),
3 ADDRESS,
   12 STREET CHARACTER (20),
    12 CITY CHARACTER (15),
   12 ZONE CHARACTER (5),
   12 STATE CHARACTER (15),
3 DATE-HIRED,
  4 MONTH FIXED (2),
  4 DAY FIXED (2),
  4 YEAR,
    14 DECADE FIXED (1),
    14 YR FIXED (1),
3 RATE-OF-PAY FIXED (7,2);

http://bitsavers.trailing-edge.com/pdf/ibm/360/pli/SC20-1651-1_A_Guide_to_PL_I_for_Commercial_Programmers_Apr68.pdf

No comments:

Post a Comment