PL/I does not have a variable that corresponds to the SQL data type ROWID. To create host variables that can be used with this data type, use the SQL TYPE IS clause. The SQL precompiler replaces this declaration with a PL/I language structure in the output source member.
>>-+-DECLARE-+--+-variable-name-----------+---------------------> '-DCL-----' | .-,-------------. | | V | | '-(----variable-name-+--)-' >--SQL TYPE IS ROWID-------------------------------------------><
The following declaration:
DCL MY_ROWID SQL TYPE IS ROWID;
Results in the following generation:
DCL MY_ROWID CHARACTER(40) VARYING;