What is an in line PERFORM? When would you use it? Anything
else to say about it?
Answers were Sorted based on User's Feedback
Answer / ravikumar
Inline perform executes set of statments without going to
any paragraph written seperately.Depending on
scenario.....for example,when you are using the internal
table of small size..
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / hemanth reddy
Inline perform is used for that paragrapg only
Ex:Move 0 to sum-of-digits.
Move 1 to counter.
perform until counter > N
Add counter to sum-of-digits
Add 1 to counter
End-perform.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / sreenath
perform until <cond>
<stmt>
<stmt>
end perform.
-the stmts which are between perform & end perform will be
executed till the specified cond is satisfied.
-there should be no periods between perform & end perform.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / mallappa
Inline perform executes set of statments at once .
| Is This Answer Correct ? | 0 Yes | 2 No |
State the various causes of s0c1, s0c5 and s0c7.
how to fetch the record before the last record in a cobol file( its a huge file and if the key field is not known)
I have 2 dimensional array with having 100 elements. So how to find the 11th item in an array?
in cobol i have one file it contains records like 10,4,23,98,7,90..... total records 100. iwant 10 to 20 in reverse order in cobol environ ment any one please give the answer......
What happens in the background of spool when we submit a job for compilation and execution... This is a recent question in ibm...Kindly help me.....
what is call by value and call by reference ?
3 Answers Infosys, ITC Indian Tobacco Company,
IDENTIFICATION DIVISION. PROGRAM-ID. MOVEPGM. DATA DIVISION. WORKING-STORAGE SECTION. 01 WS-I PIC 9(2). PROCEDURE DIVISION. A1000-MAIN-PARA. PERFORM PARA-X WITH TEST BEFORE UNTIL WS-I= 5 STOP RUN. PARA-X. DISPLAY "BEST2". I m getting error s722,while executing the program, seems getting in loop, can anybody tell me why
What is the difference between perform … with test after and perform … with test before?
What type of SDLC u followed? Why?
In COBOL, what is the different between index and subscript?
0 Answers TryTechnicals Pvt Ltd,
What kind of error is trapped by on size error option?
What is comp-1 and comp-2?