Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Different sections under Data Division?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
chetanmf

New User


Joined: 24 Nov 2005
Posts: 2

PostPosted: Thu Nov 24, 2005 5:45 pm    Post subject: Different sections under Data Division?
Reply with quote

Hello!

Generally we have come across file, working and linkage section. But what is the use of Screen and Report Section??

Please discuss on above topic.
Back to top
View user's profile Send private message

superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Thu Nov 24, 2005 9:46 pm    Post subject: Re: Different sections under Data Division?
Reply with quote

I am looking at the Data Division specifications in the VS COBOL II guide:

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IGYA1100/3.1.3?DT=19920601163437

Could you please indicate where there is a reference to any sections other than File Section, Working-Storage Section, or Linkage Section?
Back to top
View user's profile Send private message
sungang77

New User


Joined: 03 Nov 2005
Posts: 46
Location: Shanghai, China

PostPosted: Fri Nov 25, 2005 7:22 am    Post subject:
Reply with quote

The following is my note of the general discription of the sections in Data Division. Hope it's helpful.

Data Division
The format of the division is:
Data division.
File section.
Working storage section.
Screen section.
Linkage section.
Communication section.
Report section.
File section: defines the structure and format of the records on each of the files which the program is to process.
Working storage section: contains the definition of data items which are not specifically associated with the records in any files which the program is processing.
Screen section: not supported in some implementation of COBOL. It defines the content and structure of data which is to form the basis of an interactive screen dialog with an operator.
Linkage section: defines data items which are passed to a called sub-program as parameters from a calling program.
Communication section: seldom used. It forms the basis of an interface between the program and the Message Control System in a data communications application.
Report section: contains the definition of data items used by the COBOL Report Writer.
Back to top
View user's profile Send private message
chetanmf

New User


Joined: 24 Nov 2005
Posts: 2

PostPosted: Fri Nov 25, 2005 9:29 pm    Post subject: Re: Different sections under Data Division?
Reply with quote

Hi!

Many thanks for your kind reply.

Have A NIce Day
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Fri Nov 25, 2005 9:50 pm    Post subject: Re: Different sections under Data Division?
Reply with quote

For future reference, could one of you please supply a link to the appropriate IBM manual that documents these two additional sections?
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Storing huge volume of data, compare ... Pradeep K M All Other Mainframe Topics 3 Mon Jan 16, 2017 5:08 pm
No new posts how to recover an uncataloged VSAM da... archanamuthukrishnan All Other Mainframe Topics 3 Wed Jan 11, 2017 6:18 pm
No new posts HALDB data refresh/copy from producti... vineetanand2007 IMS DB/DC 0 Mon Jan 02, 2017 11:16 am
No new posts JES2 JEC: Use UNIX Pipes to Pass Data... Virendra Shambharkar JCL & VSAM 21 Tue Dec 20, 2016 6:55 pm
No new posts Is the 'prompt' data for the DSLIST p... Willy Jensen TSO/ISPF 2 Tue Dec 06, 2016 4:38 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us