what is the difference between perform varying and perform
until
Answer Posted / vaneesh
Perform Varying:- Its a performing of loop using a working
storage variable having a predefined value and its
incremental or decremental value with each execution.
For Example
PERFORM PARA-A VARYING WS-A FROM 1 BY 1.
PERFORM UNTILL:- It is execution of a loop until a certain
condition is met. Please note that condition is checked
before the execution.
PERFORAM PARA-A UNTILL WS-A > 20.
| Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
what happens if parmparameter passes zero bytes to the program
Give some examples of command terminators?
Difference between array and sub-script ?
How do you reference the following file formats from cobol programs?
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
What is perform what is varying?
What is the default value(s) for an initialize and what keyword allows for an override of the default?
Explain the configuration section of a cobol program with examples of syntax.
What is cobol?
example for sub strings ? and refernce modifications whit output pls
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
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?
how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)
In COBOL, what is the different between index and subscript?