file section

This is a Mainframe COBOL forum - you can post your queries on Mainframe COBOL, VS COBOL II, COBOL/370 , Enterprise COBOL

Moderators: dbzTHEdinosauer, Moderator Group

Post Reply
breentha_d
Member
Posts: 13
Joined: Mon Dec 10, 2007 1:32 pm

file section

Post by breentha_d » Fri Feb 01, 2008 6:39 am

hi,


i understand that the file section is used to describe the input and output file that will be used in the cobol program. pls explain to me how does the data is actually read into the main memory and processed. what does the working storage section stores.


thanks

User avatar
DavidatK
Active Member
Posts: 65
Joined: Tue Mar 27, 2007 8:41 am
Location: Troy, MI USA

Post by DavidatK » Sat Feb 16, 2008 4:33 am

Check out the COBOL MANUAL Chapters 4 and 5

If you have specific questions please come back.

Dave

sai
Member
Posts: 7
Joined: Tue Mar 18, 2008 3:26 pm

Post by sai » Sat Mar 22, 2008 2:02 pm

hi
this answer may help u to understand easiliy
The data files are defined in the file section and data developed by prog. is defined in working-storage section.we have to intialize all the data before we use it .Data read from input files is quite often copied into w/s section before processing begins(using read into statement). thats it|!!!!!!!!!!!
hope this might be the answer
ok

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others