IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Usage of the elements in Configuration Section


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
therasith

New User


Joined: 02 Jan 2004
Posts: 52
Location: chennai

PostPosted: Sat Feb 19, 2005 2:15 pm
Reply with quote

icon_question.gif 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
Back to top
View user's profile Send private message
priya

Moderator


Joined: 24 Jul 2003
Posts: 568
Location: Bangalore

PostPosted: Sat Feb 19, 2005 7:40 pm
Reply with quote

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.
Back to top
View user's profile Send private message
therasith

New User


Joined: 02 Jan 2004
Posts: 52
Location: chennai

PostPosted: Sun Feb 20, 2005 7:06 pm
Reply with quote

Hi Priya

Thank a Lot for your nice effort.

I got some knowledge from your article.

Keep in touch

Regards

Rasith
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts Using Dynamic file handler in the Fil... COBOL Programming 2
No new posts STEM usage in REXX CLIST & REXX 14
No new posts z/OS Modules Usage report using SMF 42 DFSORT/ICETOOL 2
No new posts FD Section to Create FB or Vb File Dy... COBOL Programming 1
Search our Forums:

Back to Top