.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
) How do u handle errors in BMS macro?
What is the difference between PIC 9.99 and 9v99 in COBOL?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
Explain how to differentiate call by context by comparing it to other calls?
Give some examples of command terminators?
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
What are the pertinent COBOL
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
What are literals?
what is amode(24), amode(31), rmode(24) and rmode(any)?
What rules are followed by the search verb.
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
What are the access modes of START statement?