What do you feel makes a good program?
Answers were Sorted based on User's Feedback
Answer / raghunandan modak
A program that follows a top down approach. It is also one
that other programmers or users can follow logically and is
easy to read and understand.
| Is This Answer Correct ? | 10 Yes | 0 No |
Answer / suresh babu
A good program should have the qualities like:
1. Correctness: It is the most important of the qualities.
A program that fails to produce correct results is
worthless.
2. Readability: Readability means the program shoud be
written in such a way that if a person wants to read and
understand the program, it shoud be possible for him to do
so without much difficulty. It is the primary objective of
structured programming.
3. Portability: A portable program is the one that can be
executed on different machines(with different compilers)
without any change or with only minor changes if required.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the linkage section?
We know that size of redefine and redefining need not to be same..Then does the below case true 01 ws-date pic 9(6). 01 ws-redf-date REDEFINES ws-date 05 ws-year pic 9(4) 05 ws-mon pic 9(2) 05 ws-day pic 9(2)
What are the differences between OS VS COBOL and VS COBOL II?
I want ALL ERROR codes in VSAM
3 Answers American Express, TCS,
How to use the same cobol program in Batch and CICS onlines ? Please expalin with an example. Thanks in advance.
How can you submit a job from COBOL programs?
01 WS-NAME PIC X(10) OCCURES 2. by this we can get ws-name 2 times. My qustion is how can we access the second name
ID DIVISION. PROGRAM-ID. PLO. DATA DIVISION. WORKING-STORAGE SECTION. 01 VAR1 PIC 9(2). 01 VAR2 PIC X(2). PROCEDURE DIVISION. ACCEPT VAR2. MOVE VAR2 TO VAR1. STOP RUN. if i give 'PI' in var2 then what will b output of progr. any abend?????
What is SET TO TRUE all about, anyway?
Please let me know how the Eject verb works for page break.. I want to know the code, how it is used.
I have a sequential file of 100 records. How do I load the records into a two dimensional array ?
How do you define a table/array in COBOL?