if a>b

continue
display x.
dispaly y.
end-if

display 1

display 2.

display 3.
what should be my output ?

Answer Posted / sharpmainframe

ERROR: BECAUSE OF MISMATCH END-IF

YOU NOT PUT ANY SCOP TERMINATOR(.) INBETWEEN IF-ENDIF STMT

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What the difference is between continue and next sentence?

665


Why occurs cannot be used in 01 level in COBOL?

719


Write a program to enter and display the names of students in a class using the occurs clause.

654


What is the difference between perform … with test after and perform … with test before?

885


IF I mention stop run in CICS what happens?

1898






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?

897


What do you understand by psb and acb?

666


Can we change the password using ALTER? anyone tried and changed?

1549


If you are current on the owner of a set, what is the difference between obtain next and obtain first?

644


What rules are followed by the search verb.

638


How did the release of cobol/370 version 1.3 improve the performance of release 1.1?

645


1.give the details about WHEN OTHER. 2. how many form are available in evaluate.

1616


How many sections are there in data division in COBOL?

680


What is the difference between next sentence and continue in cobol programing language?

712


I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue

1933