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 / chandrababu naidu

if both values A and B values are equal, then control go to
'perform' statement, if both values A and B values are not
equal then control come out of if condition.

Is This Answer Correct ?    3 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference between array and sub-script ?

1148


Write down the divisions of cobol program?

659


How you can read the file from bottom?

651


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?

5353


how do you reference the variable unblock file formats from cobol programs

732






Write a program to explain size error.

665


System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..

1576


What is the difference between comp and comp-3 usage?

669


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

647


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

745


What are the different rules of SORT operation?

689


What is the local-storage section?

668


how can i see junk values in dclgen or in hostvariable of comp ?

2532


here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?

6781


How do you get the data to code the BMS macro?

1467