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
Why would you use find and get rather than to obtain?
how can i see junk values in dclgen or in hostvariable of comp ?
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 is the default value(s) for an initialize and what keyword allows for an override of the default?
how do you reference the ksds vsam file formats from cobol programs
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.
What is the usage of comp fields in cobol?
) How do u handle errors in BMS macro
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
Write a cobol program making use of the redefine clause.
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
what is amode(24), amode(31), rmode(24) and rmode(any)?
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
how do you reference the rrds file formats from cobol programs