z/OS DFSMSdfp Storage Administration
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


DO statement

z/OS DFSMSdfp Storage Administration
SC23-6860-01

You can group a collection of ACS language statements using a DO statement paired with an END statement. The DO statement can follow an IF-THEN clause, an ELSE clause, or a SELECT-WHEN group.

DO  <group of statements> END

group of statements can consist of zero or more ACS language statements.

Figure 1 shows an example of a DO statement:

Figure 1. Example of a DO Statement
IF &HLQ='PAYROLL' THEN
 DO
  WRITE 'No Payroll allowed'
  EXIT CODE(1)
 END

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014