COBOL Snippet: Tell where the control will when the below
code execute
IF (A=B)
CONTINUE
ELSE
NEXT SENTENCE
PERFORM <IMP-STMT>
END-IF.
Answer Posted / venkat
First of all u have to know the standards and basic things.
If u don't just leave. Other one can answer for this ques.
Is This Answer Correct ? | 0 Yes | 5 No |
Post New Answer View All Answers
Write a program to enter and display the names of students in a class using the occurs clause.
how do you reference the variable block file formats from cobol programs
What is the difference between PIC 9.99 and 9v99 in COBOL?
What are the different rules of SORT operation?
What guidelines should be followed to write a structured cobol prgm?
What is the local-storage section?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
Difference between cobol and cobol-ii?
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 amode(24), amode(31), rmode(24) and rmode(any)?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
Write the code implementing the perform … varying.
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?