what is the difference between perform varying and perform
until
Answer Posted / santhosh vayathuri
perform varying is like for statement in cobol we wil be
assign and increment and check the condition in a same
statement but perform until is like while statement in c
here we wil check upto the condition but we wil not
initialize and increment the value
| Is This Answer Correct ? | 11 Yes | 1 No |
Post New Answer View All Answers
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
What are the access modes of START statement?
Give some examples of command terminators?
what is s000 u4087 error? please give the all error codes in cobol,jcl.
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
example for sub strings ? and refernce modifications whit output pls
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
Write the code implementing the perform … varying.
I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.
What are the cobol coding sheets?
Which Search verb is equivalent to PERFORM…VARYING?
Write a program that uses move corresponding.
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.