.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
Name the sections present in data division.
Which Search verb is equivalent to PERFORM…VARYING?
Write the code implementing the perform … varying.
how do you reference the variable block file formats from cobol programs
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
explain sorting techniques in cobol program?
how to convert the recors form vsam file to db2 table tru file aid
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
Give some examples of command terminators?
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
What is the compute verb? How is it used?
how do you reference the printer file formats from cobol programs
What is report-item in COBOL?