How do you do in-line PERFORM?
Answers were Sorted based on User's Feedback
Answer / mahathiaz
PERFORM ... <UNTIL> ...
<sentences>
END-PERFORM
Is This Answer Correct ? | 7 Yes | 0 No |
Answer / saravanan
IN inline perform the procedure name is omited.an inline
perform must be delimited by the end peform statement
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / ravikiran
in inline perform the statements with in the loop does n't
contain a period '.'
inline perform does not contain any para.
perform until i > 4
display a
accept b
end-perfom.
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / manvitha
In-line perform is used to perform the repetitive tasks within a paragraph or section itself.
Perform
statements
end-perform
perform until condition
statements
end-perform
perform WITH TEST before/after until condition
statement
end-perform
Is This Answer Correct ? | 1 Yes | 0 No |
can u give result for the fallowing example... 05 a pic 9(2) 05 b redifines a pic x(2). move 'xy' to b. display a,b.
in how many mode we can open a file ?
if a file has 1000 recods how copy the records from 1 to 100 records using sort
If I want to increase the Limit in GDG. What should I do?
How will you find the currepted records in a file
How does IDMS insure data integrity?
what is the difference between COBOL2 AND COBOL390?
I have dataset DS1 which has records say 1 2 3 4 5 ... ... etc And also I have second dataset DS2 whcih has records 1 3 4 5 6 8 .. ... Both the files are sorted and now I want to compare these files and write it into the third files if the records are matching.
How to delete a front spaces in a data-name/variable in cobol Example:- 01 data-name-1 PIC x(20) value " cobol language". 01 data-name-2 PIC x(20). MOVE data-name-1 to data-name-2. would like the value of data-name-2 is "cobol language".
hw to create 3 dimensional array & hw to access it?
01 text-data pic x(100). move 'xyzdbfrjjg u' to text-data. how to find the value of last index of text-data?
What is the maximum length of a field you can define using COMP-3 in COBOL?