---
title: "6 Top COBOL PERFORM Statements"
description: "The complete list COBOL perform statements with syntax. You can use your mobile to refresh it in a short time and very quickly. The syntax you can use in your current project."
url: https://srinimf.com/2016/12/16/the-best-6-cobol-perform-statements-with-complete-syntax/
date: 2016-12-16
modified: 2026-10-10
author: "Srini"
image: https://i0.wp.com/srinimf.com/wp-content/uploads/2016/12/cobol-perform.jpg?fit=1200%2C900&ssl=1
categories: ["COBOL"]
tags: ["6 COBOL Perform Statements", "COBOL Tips and Tricks"]
type: post
lang: en
---

# 6 Top COBOL PERFORM Statements

**Here are six statements** perform-times, **perform -until,** **Perform-After**, **Perform-Varying**, **Inline Perform**, and **Perform-thru**.

---

## 6 COBOL Perform Statements

The perform statement continues till the end of end-perform you can say as in-line perform. When the perform calls another para, you can say as outline perform.

---

[![DB2 String Functions](https://i0.wp.com/srinimf.com/wp-content/uploads/2012/07/db2-strings.jpg?resize=1200%2C700&ssl=1)](https://srinimf.com/2012/07/04/db2-sql-ltrim-rtrim-and-trim/)

Top String Functions in DB2

---

### 1). COBOL Inline Perform

```
Perform 
procedure-name-1
end-perform.
```

### 2). COBOL perform thru

```
Perform 
procedure-name-1 
thru 
procedure-name-2.
```

### 3). COBOL perform n times

```
Perform procedure-name N times.
```

### 4). [COBOL perform until](https://srinimf.com/2017/01/17/cobol-logic-with-complex-question-newly-asked/) condition

```
Perform procedure-name-1 thru 
procedure-name-2 until 
<condition>
```

### 5). COBOL perform thru varying

```
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). COBOL perform from by option using varying

```
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>.
```

**Related Posts**

- [COBOL PERFORM Varying with UNITIL Logic](https://srinimf.com/2016/01/23/cobol-loop-with-perform-varying-logic/)DateJanuary 23, 2016
- [COBOL 2000 Exit PERFORM](https://srinimf.com/2015/04/08/cobol-2000-change-in-perform/)DateApril 8, 2015
- [How to Write COBOL COMPUTE Statement Correctly](https://srinimf.com/2017/05/30/best-cobol-example-with-computey-way/)DateMay 30, 2017

### Share this:

-
- [Tweet](https://twitter.com/share)
- [![](https://i0.wp.com/assets.pinterest.com/images/pidgets/pinit_fg_en_rect_gray_20.png)](https://www.pinterest.com/pin/create/link/?url=https%3A%2F%2Fsrinimf.com%2F2016%2F12%2F16%2Fthe-best-6-cobol-perform-statements-with-complete-syntax%2F&media=https%3A%2F%2Fi0.wp.com%2Fsrinimf.com%2Fwp-content%2Fuploads%2F2016%2F12%2Fcobol-perform.jpg%3Ffit%3D1200%252C900%26ssl%3D1&description=6%20Top%20COBOL%20PERFORM%20Statements)
-
- [Share on Tumblr](https://www.tumblr.com/share)
- [Share on WhatsApp (Opens in new window) WhatsApp](https://srinimf.com/2016/12/16/the-best-6-cobol-perform-statements-with-complete-syntax/?share=jetpack-whatsapp)
- [More](#)
-

- [Print (Opens in new window) Print](https://srinimf.com/2016/12/16/the-best-6-cobol-perform-statements-with-complete-syntax/?share=print)
- [Share on Reddit (Opens in new window) Reddit](https://srinimf.com/2016/12/16/the-best-6-cobol-perform-statements-with-complete-syntax/?share=reddit)
- [Share on Telegram (Opens in new window) Telegram](https://srinimf.com/2016/12/16/the-best-6-cobol-perform-statements-with-complete-syntax/?share=telegram)
- [Email a link to a friend (Opens in new window) Email](mailto:?subject=%5BShared%20Post%5D%206%20Top%20COBOL%20PERFORM%20Statements&body=https%3A%2F%2Fsrinimf.com%2F2016%2F12%2F16%2Fthe-best-6-cobol-perform-statements-with-complete-syntax%2F&share=email)
-

### Like this:

Like Loading…