.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

How can you get the ksds file records into your cobol program?

834


What are the cobol coding sheets?

855


Are you comfortable in cobol or jcl?

799


What the difference is between continue and next sentence?

862


i need a small 3d program using inline and outline.

1876


What is link edit in cobol?

935


What is cobol?

936


What are the different rules to perform a Search?

802


What is the Purpose of Pointer in the string?

814


What is the use of intialize verb?

964


What are different data types in cobol?

901


example for sub strings ? and refernce modifications whit output pls

2064


Write a program to explain size error.

880


Which division and paragraphs are mandatory for a COBOL program?

908


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

966