관리 메뉴

Gentle Breeze

[COBOL] PERFORM statement <4> 본문

⑨ 직무역량강화/zOS COBOL

[COBOL] PERFORM statement <4>

서풍의신 재령 2009. 8. 8. 15:58
▶ PERFORM with TIMES phrase

The procedures referred to in the TIMES phrase PERFORM statement are executed the number of times specified by the value in identifier-1 or integer-1. Control then passes to the next executable statement following the PERFORM statement.

사용자 삽입 이미지


If procedure-name-1 is specified, imperative-statement-1 and the END-PERFORM phrase must not be specified.


identifier-1

    Must name an integer item. identifier-1 cannot be a windowed date field.

    If identifier-1 is zero or a negative number at the time the PERFORM
    statement is initiated, control passes to the statement following
    the PERFORM statement.

    After the PERFORM statement has been initiated, any change to identifier-1
    has no effect in varying the number of times the procedures are initiated.

integer-1

    Can be a positive signed integer.

'⑨ 직무역량강화 > zOS COBOL' 카테고리의 다른 글

[COBOL] PERFORM statement <6>  (0) 2009.08.08
[COBOL] PERFORM statement <5>  (0) 2009.08.08
[COBOL] PERFORM statement <4>  (0) 2009.08.08
[COBOL] PERFORM statement <3>  (0) 2009.08.08
[COBOL] PERFORM statement <2>  (0) 2009.08.08
[COBOL] PERFORM statement <1>  (0) 2009.08.08
0 Comments
댓글쓰기 폼