View previous topic :: View next topic
|
Author |
Message |
chetanmf
New User
Joined: 24 Nov 2005 Posts: 2
|
|
|
|
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 |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
Back to top |
|
|
sungang77
New User
Joined: 03 Nov 2005 Posts: 46 Location: Shanghai, China
|
|
|
|
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 |
|
|
chetanmf
New User
Joined: 24 Nov 2005 Posts: 2
|
|
|
|
Hi!
Many thanks for your kind reply.
Have A NIce Day |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
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 |
|
|
|