What divisions, sections and paragraphs are mandatory for a
COBOL program?
Answer Posted / hari
Id division.
Program-id. pgmname.
Procedure division.
STOP RUN.
| Is This Answer Correct ? | 11 Yes | 9 No |
Post New Answer View All Answers
I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......
For rewrite, why is it mandatory that file needs to be opened?
Write the code implementing the perform … varying.
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
What is the use of intialize verb?
How do u write test cases?
What is the LINKAGE SECTION used in COBOL?
how can i see junk values in dclgen or in hostvariable of comp ?
What is link edit in cobol?
How many bytes S(8) comp field occupy and its maximum value?
how to move the records from file to array table. give with code example
how do you reference the ksds vsam file formats from cobol programs
What is a scope terminator give example?
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?