Rational Developer for System z
PL/I for Windows, Version 8.0, Programming Guide

Embedding SQL statements

The first statement of your PL/I program must be a PROCEDURE or a PACKAGE statement. You can add SQL statements to your program wherever executable statements can appear. Each SQL statement must begin with EXEC (or EXECUTE) SQL and end with a semicolon (;).

For example, an UPDATE statement might be coded as follows:

  exec sql update Department
           export   Mgrno  = :Mgr_Num
           where    Deptno = :Int_Dept;
Rational Developer for System z
PL/I for Windows, Version 8.0, Programming Guide