.How to add one input & one Out file in existing cobol
program.
how approach tell me step by step.


Answer Posted / aniket potwekar

Add File-control para in environment division with select
clause for input and output file.Declare there organization
and access mode.
then in data division add file descriptor entry for each
file.These must be in file section.
Then use these files in procedure division.

Is This Answer Correct ?    3 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a scope terminator give example?

657


What are declaratives and what are their uses in cobol?

714


i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this

998


What is the difference between perform … with test after and perform … with test before?

883


Explain how to differentiate call by context by comparing it to other calls?

689






What is the difference between a binary search and a sequential search what are the pertinent cobol?

735


How do define dynamic array in cobol.

671


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

825


How to remove 2 duplicate records and copy only one using job control language?

753


how do you reference the ksds vsam file formats from cobol programs

666


i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com

1771


Why did you choose to work with ibm mainframe cobol programming?

631


What are all the divisions of a COBOL program?

665


How do you reference the following file formats from cobol programs?

695


What is difference between static and dynamic call in cobol?

777