COBOL for AIX

 View Only

Source conversion utility

By Archive User posted Thu August 29, 2013 03:48 AM

  

Originally posted by: Cecilia_F


COBOL for AIX version 4.1 introduces a new utility, the source conversion utility (scu), to assist the conversion of programs in non-IBM COBOL source formats.
The main function for utility is to “normalize” COBOL source input text so that the resulting output source text can be compiled by IBM COBOL for AIX V4.1. The input formats that are specifically addressed are some non-IBM fixed-format source and COBOL standard free-format source.
The individual transformations done by scu includes the following:

  •     Converting white space characters to true spaces, including tab expansion, with optional controls
  •     Normalizating line-end characters
  •     Repositioning items to start in the proper area: indicator area, Area A or Area B, as required
  •     Special alignment for [*]CBL/PROCESS statements
  •     Optional blanking of sequence numbers in positions 1-6, and stripping of serial numbers in positions 73-80
  •    Converting anomalous fixed-format input by default; and optionally converting free form input

The scu man page contains precise and up-to-date details of the available functions. And also a function summary, in man page, is available via the command scu -h.
 

0 comments
4 views

Permalink