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

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

1919


example for sub strings ? and refernce modifications whit output pls

1833


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

632


1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?

5355


Difference between array and sub-script ?

1154






What are the different types of condition in cobol and write their forms.

649


How many bytes S(8) comp field occupy and its maximum value?

1621


What are the pertinent COBOL commands?

2617


What are the cobol coding sheets?

655


how do you reference the printer file formats from cobol programs

647


what is the difference between COBOL2 AND COBOL390?

2441


What is the difference between structured cobol programming and object alternativelyiented cobol programming?

699


What is the default value(s) for an initialize? What keyword will allow for an override of the default?

648


Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks

2323


Describe the cobol database components?

672