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
How to print 10 to 1 if the input have only 10 digit number?
how can i see junk values in dclgen or in hostvariable of comp ?
What are literals?
What is the difference between comp and comp-3 usage?
i want a program using by if, evaluate , string, unstring, perform, occurs?
how to refer the data field?
What is comp-1 and comp-2?
how do you reference the ksds vsam file formats from cobol programs
How do you define a variable of comp-1 and comp-2?
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 ......
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
What is the Purpose of Pointer in the string?
What is the difference between next sentence and continue in cobol programing language?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
What is the Purpose of POINTER Phrase in STRING command in COBOL?