what r the types of perform statement

Answer Posted / ananta bajpai

there main
1.perform [proc-name[{thru/through}end-proc]]repeat-count N
times[statement end-perform]
2.perform [para-name/proc-name{thru/through}[end-proc]]
[statement end-proc]
3.perform [proc-name{thru/through}[end-proc]][with test
{before/after}]varying variable from integer by increment
until condition[statement end-perform]
4.perform[proc-name{thru/through}end-proc]]varying variable-
name from integer by incremental until condition [statement
end-perform]
5.perform proc-name
6.perform n(number) times.

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to print 10 to 1 if the input have only 10 digit number?

810


how can i see junk values in dclgen or in hostvariable of comp ?

2540


What are literals?

626


What is the difference between comp and comp-3 usage?

674


i want a program using by if, evaluate , string, unstring, perform, occurs?

4046






how to refer the data field?

1802


What is comp-1 and comp-2?

758


how do you reference the ksds vsam file formats from cobol programs

662


How do you define a variable of comp-1 and comp-2?

701


I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......

10581


How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

2720


What is the Purpose of Pointer in the string?

641


What is the difference between next sentence and continue in cobol programing language?

708


How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?

734


What is the Purpose of POINTER Phrase in STRING command in COBOL?

714