Can anyone please give the example of Inline Perform.
Answer Posted / bijay krishna mohapatra
perform varyiung i from 1 by 1 under i>5
display i
add 1 to i
end perform
display 'bijay'
stop run.
***********rules********:
1.in line should be terminated into scope delimiter(end-if)
2.we cant apply the after opt.
3.nesting can be done hr.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
how to access the file from prodution from changeman tool and to submit a file to production
Write a program to explain size error.
What is the difference between comp and comp-3?
A table has two indexes defined. Which one will be used by the SEARCH?
What is the Purpose of Pointer in the string?
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?
What are all the divisions of a COBOL program?
if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.
What is the difference between PIC 9.99 and PIC9v99?
What the difference is between continue and next sentence?
How many sections are there in data division in COBOL?
Write a cobol program making use of the redefine clause.
Explain the configuration section of a cobol program with examples of syntax.
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?