perform I from 0 by 1 until I=5?How maney times it will
executes
Answer Posted / varun v
I agree with Answr #3 and Answer # 3 is correct..
PERFORM I FROM 0 BY 1 UNTIL I=5
........................
........................
END-PERFORM.
would give syntax error.
************************************************************
Correct one is given as below...
PERFORM varying i from 0 by 1 until i = 5
.............
.............
END-PERFORM.
and this should get executed 5 times....
Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
what is amode(24), amode(31), rmode(24) and rmode(any)?
How do define dynamic array in cobol.
Discuss about changing dataset name in proc.
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?
What is the Purpose of POINTER Phrase in STRING command in COBOL?
Name the sections present in data division.
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
What are the pertinent COBOL commands?
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
In which area will you utilize 88 level items in cobol?
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?