Power Programming Languages

Power Programming Languages

IBM Power, including the AIX, IBM i, and Linux operating systems, support a wide range of programming languages, catering to both traditional enterprise applications and modern development needs.


#Power

 View Only

IBM extension (2) - extended source format (COBOL for AIX only)

By Archive User posted Thu August 22, 2013 04:58 AM

  

Originally posted by: AliceYing


The COBOL for AIX compiler supports the extended source format as an IBM extension.

Fixed source format consists of the following areas in a 72-character line. Extended source format consists of the following areas in a 252-character line.

Sequence number area
Columns 1 through 6
Indicator area
Column 7
Area A
Columns 8 through 11
Area B
Columns 12 through 72 in fixed source format
Columns 12 through 252 in extended source format
Note that in fixed source format and extended source format, lines shorter than the maximum length are extended with spaces to the maximum length.

See the figure showing the fixed source format for a COBOL source line:

image

 

 

 

 

See the figure showing extended source format for a COBOL source line:

image

 

 

 

 

If you want to know more information about how to indicate fixed source format or extended source format, see the SRCFORMAT topic in the COBOL for AIX Programming Guide.


#CobalforAIX
0 comments
6 views

Permalink