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 do you reference the variable block file formats from cobol programs
Give some examples of command terminators?
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
How to remove 2 duplicate records and copy only one using job control language?
) How do u handle errors in BMS macro?
i want a program using by if, evaluate , string, unstring, perform, occurs?
input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.
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 ......
What is the difference between binary search and sequential search?
How many bytes S(8) comp field occupy and its maximum value?
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
How do you differentiate between cobol and cobol-ii?
Name the sections present in data division.
What are the cobol coding sheets?
In which area will you utilize 88 level items in cobol?