what is the minimum number of lines a Cobol program should
have to successfully compile and run
Answer Posted / vijay
technically it is mentioned a flow chart to compile the
cobol programming so i prefers that 4 lines.
IDENTIFICATION DIVISION.
PROGRAM-ID. VIJAY.
ENVIRONMENT DIVISION.
PROCEDURE DIVISION.
DISPLAY ' ALL THE BEST FOR YOUR BRIGHTEST FEATURES'
STOP RUN.
| Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
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
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
What are the different open modes available in cobol?
) how do u code after getting data?
Can we change the password using ALTER? anyone tried and changed?
explain sorting techniques in cobol program?
What is the difference between perform … with test after and perform … with test before?
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
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 ......
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
how do you reference the printer file formats from cobol programs
What rules are followed by the search verb.