therasith
New User
Joined: 02 Jan 2004 Posts: 52 Location: chennai
|
|
|
|
In COBOL 85 configuration section, object-computer para have memory size , program collationg sequence and segment limit. the question is in vscobolII how it is used? is it there and like this systax i mean cobol 85 syntax. i have known why it is used in cobol 85.
pls anyone can explain what about vscobol? ASAP |
|
priya
Moderator
Joined: 24 Jul 2003 Posts: 568 Location: Bangalore
|
|
|
|
Hi,
Code: |
MEMORY SIZE
The amount of main storage needed to run the object program. The
MEMORY SIZE clause is syntax-checked, but is treated as documentation.
Note: MEMORY SIZE is an obsolete element, and will be deleted from
the next revision of the COBOL 85 Standard.
integer
Expressed in words, characters, or modules.
PROGRAM COLLATING SEQUENCE IS
The collating sequence used in this program is the collating sequence
associated with the specified alphabet-name.
The collating sequence pertains to this program and any programs it
may contain.
alphabet-name
The collating sequence.
PROGRAM COLLATING SEQUENCE determines the truth value of the following
nonnumeric comparisons:
Those explicitly specified in relation conditions
Those explicitly specified in condition-name conditions.
The PROGRAM COLLATING SEQUENCE clause also applies to any nonnumeric merge
or sort keys, unless the COLLATING SEQUENCE phrase is specified in the
MERGE or SORT statement.
The PROGRAM COLLATING SEQUENCE clause is not applied to the DBCS character
set.
When the PROGRAM COLLATING SEQUENCE clause is omitted, the EBCDIC
collating sequence is used. (See Appendix B, "EBCDIC and ASCII Collating
Sequences" in topic APPENDIX1.2.)
Note: This element may exhibit different behavior when the CMPR2 compiler
option is in effect. For more information, see VS COBOL II Migration
Guide for MVS and CMS or VS COBOL II Migration Guide for VSE.
SEGMENT-LIMIT IS
Certain permanent segments can be overlaid by independent segments
while still retaining the logical properties of fixed portion
segments. (Fixed portion segments are made up of fixed permanent and
fixed overlayable segments.)
Note: SEGMENT-LIMIT is an obsolete element, and will be deleted from
the next revision of the COBOL 85 Standard.
Priority-number
An integer ranging from 1 through 49.
When SEGMENT-LIMIT is specified:
A fixed permanent segment is one with a priority-number less
than the priority-number specified.
A fixed overlayable segment is one with a priority-number
ranging from that specified through 49, inclusive.
For example, if SEGMENT-LIMIT IS 25 is specified:
Sections with priority-numbers 0 through 24 are fixed
permanent segments.
Sections with priority-numbers 25 through 49 are fixed
overlayable segments.
When SEGMENT-LIMIT is omitted, all sections with priority-numbers
0 through 49 are fixed permanent segments.
Except for the PROGRAM COLLATING SEQUENCE clause, the OBJECT-COMPUTER
paragraph is syntax-checked, but is treated as documentation. |
|
|