If A>B
next sentence
end-if
display 1
display 2.
display 3.
If a>b, it will display only 3.(the next sentence,
ie., after fullstop/period)
____________________________________
if a>b
continue
end-if
display 1
display 2.
display 3.
If a>b, it Will display 1 2 3 (the next statement)
____________________________________
if a>b
continue
display 1
end-if
display 2
display 3.
display 4.
If a>b, Will it display 2 3 4 (or) 1 2 3 4 ?
Answer Posted / kamal
if a>b
continue
display 1
end-if
display 2
display 3.
display 4.
it will disply 1,2,3,4.
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
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
What is the Purpose of POINTER Phrase in STRING command in COBOL?
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
) how do u code after getting data?
How do get the result of your program directly on your pc?
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
Write down the divisions of cobol program?
What is the difference between goback, stop run and exit program in cobol?
How do we get current date from system with century in COBOL?
Explain how you can characterize tables in cobol?
Difference between cobol and cobol-ii?
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
Which is not true about evaluate statement
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?
Write a cobol program making use of the redefine clause.