what is the minimum number of lines a Cobol program should
have to successfully compile and run
Answer Posted / nimsatprasad
First 2 lines are enough to minimum successfully compile
the cobol program
IDENTIFICATION DIVISION.
PROGRAM-ID. COVANSYS.
PROCEDURE DIVISION.
DISPLAY 'COVANSYS'.
STOP RUN.
| Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.
What is the default value(s) for an initialize and what keyword allows for an override of the default?
What is the difference between perform … with test after and perform … with test before?
Why did you choose to work with ibm mainframe cobol programming?
what is s000 u4087 error? please give the all error codes in cobol,jcl.
What is the difference between comp and comp-3 usage?
Explain what you understand by passing by value.
how do you define single dimensional array and multidimensional array in your cobol?
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
Have you used comp and comp-3 in your project? And how?
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
How do u write test cases?
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
how to refer the data field?
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?