.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 arrays can be defined in COBOL?
can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
State the various causes of s0c1, s0c5 and s0c7.
What is the LINKAGE SECTION used in COBOL?
How do we get current date from system with century in COBOL?
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
What is the local-storage section?
For rewrite, why is it mandatory that file needs to be opened?
What are the pertinent COBOL commands?
What is the Purpose of Pointer in the string?
What are different data types in cobol?
Are you comfortable in cobol or jcl?
What type of SDLC u followed? Why?
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?