6 Top COBOL Perform statements you need

The all COBOL 6 perform statements. The perform times, perform until and Perform After, Perform Varying explained all with syntax.

  1. Perform procedure-name-1
  2. Perform procedure-name-1 thru procedure-name-2
  3. Perform procedure-name N times
  4. Perform procedure-name-1 thru procedure-name-2 until <condition>
  5. Perform procedure-name-1 thru procedure-name-2 varying identifier-1/index-name-1
    From identifier2/index-name-2/literal-1 By identifier-3/literal-2
    Until <condition>
  6. Perform procedure-name-1 thru procedure-name-2 varying identifier-1/index-name-1
    From identifier2/index-name-2/literal-1 By identifier-3/literal-2
    Until <condition-1> AFTER identifier-4/Index-name-3 From Identifier-5/Index-name-4/Literal-3 By Identifier-6/Literal-4 UNTIL <condition-2>
Advertisements

Author: Srini

Experienced software developer. Skills in Development, Coding, Testing and Debugging. Good Data analytic skills (Data Warehousing and BI). Also skills in Mainframe.

Comments are closed.