what is the minimum number of lines a Cobol program should
have to successfully compile and run
Answer Posted / milind
PROCEDURE DIVISION.
The above only line is enough to compile the code. I dont
agree with answer #1 and #2.
| Is This Answer Correct ? | 4 Yes | 7 No |
Post New Answer View All Answers
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
how do you reference the printer file formats from cobol programs
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
i need a small 3d program using inline and outline.
what are decleratives in cobol?
Why would you use find and get rather than to obtain?
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?
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 ......
Explain how to differentiate call by context by comparing it to other calls?
how do you reference the ksds vsam file formats from cobol programs
how do you reference the rrds file formats from cobol programs
How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
Can a Search can be done on a table with or without Index?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?