1 03/06/84  expand_cobol_source, ecs
 2 
 3 Syntax:  ecs oldpath {newpath} {-control_args}
 4 
 5 
 6 Function:  transforms a COBOL source program before compilation.
 7 
 8 
 9 Arguments:
10 oldpath
11    is the pathname of the input segment.  The suffix ".cobol" is
12    assumed.
13 newpath
14    is the pathname of the output segment. The suffix ".cobol" is
15    assumed.  If this argument is omitted, then the translated segment
16    is in the form of the first component with the suffix ".ex.cobol".
17 
18 
19 Control arguments:
20 -card
21    deletes meaningless trailing blanks from a standard fixed-format
22    COBOL source program in card image format.
23 -expand, -exp
24    translates a standard fixed-format COBOL source program that
25    possibly contains COPY and REPLACE statements into an equivalent
26    source program not containing these statements.  (Default)
27 -format, -fmt
28    translates a pseudo free-form COBOL source program into a standard
29    fixed-format COBOL source program.  All characters in the source
30    program are left exactly as typed.
31 
32 
33 -lower_case, -lc
34    translates exactly as -format except that all characters, not
35    counting those in alphanumeric literals, are converted to lowercase.
36 -no_expand, -no_exp
37    does not translate COPY and REPLACE statements in a standard
38    fixed-format COBOL source program.
39 -upper_case, -uc
40    translates exactly as -format except that all characters, not
41    counting those in alphanumeric literals, are converted to uppercase.
42 
43 
44 Notes: See the Multics COBOL User's Guide (Order No. AS43) for a
45 description of pseudo free-form text.  See the Multics COBOL Reference
46 Manual's description of the COPY and REPLACE statements.