How many times the loop runs here
01 a pic 9(2) value 1.
perform para1 until a=10
move 1 to a.
stop run.
para1:
move 10 to a.
Answer Posted / vinod
it dirctly move 10 to a when perform para1 until a=10
after that it moves to the para the condition is checked
and pass the a value to 10.
again the perform is check the condion its true move the
value to 1.agin it passes the same so it is a infinite loop.
Is This Answer Correct ? | 3 Yes | 23 No |
Post New Answer View All Answers
What is the difference between goback, stop run and exit program in cobol?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
What type of SDLC u followed? Why?
What is the difference between external and global variables in COBOL?
Explain about different table spaces.
Which mode is used to operate the sequential file?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
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 ?
Whats the difference between search & search ALL?
What are the cobol coding sheets?
State the various causes of s0c1, s0c5 and s0c7.
Name the divisions, which are available in a cobol program?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?