Environment Division [ Micro Focus COBOL Language Reference - Additional Topics ] MPE/iX 5.0 Documentation
Micro Focus COBOL Language Reference - Additional Topics
Environment Division
Switch-Names
In addition to the switches 0 to 8 supported by COBOL, another form of
switch-name can be used. It is an upper-case letter in the range A to Z.
These letters are mapped to switches 0 to 25, so at run time you should
use the appropriate digit on your command line and not the letter itself.
For example, to turn on switch J you would put:
+9 filename
after the run command. You cannot, however, specify a run-time switch in
a CALL statement, as in:
CALL "PROG.INT/A"
because this is not supported.
File-Name on Disk
When you assign a file to disk, the file on disk is named in upper case
letters, regardless of whether the name you specify is in upper- or
lowercase letters.
The DATA SIZE Clause
You can use the following clause in a SELECT statement:
It is treated as documentary.
The INDEX SIZE Clause
You can use the following clause in a SELECT statement for a relative or
indexedfile:
It is treated as documentary.
Duplicate Alternate Keys
If you specify the DG system directive when you submit your source files
to your COBOL system, you can have duplicate alternate keys
in an indexed file regardless of whether or not you have specified the
DUPLICATES phrase.
Alternate Keys
If you specify the DG system directive when you submit your source files
to your COBOL system, alternate keyscan occupy the same area as primary
keys.
For UNIX only: Note, however, that under UNIX, if you issue START
and/or READ statements, you will receive an error message. This will not
stop your program running, but is merely to inform you that you might
encounter problems with that coding.
I-O Control Paragraph
If you specify the DG system directive when you submit your source files
to your COBOL system, the SAME AREA phrase is treated as equivalent to
the SAME RECORD AREA phrase.
MPE/iX 5.0 Documentation