RPGIV @ Work

A unique site for RPG and System i Lovers


Hi, this site will provide all what you need in System i and RPG developments.

My Name is Chamara Withanachchi, System i Expert and RPG Developer. And in the field for last 11 years.

I hope you will find lot of valuable information from this site

Free-Form Definition Statement Print E-mail
User Rating: / 0
Written by Chamara   

A free-form data definition statement begins with one of the declaration operation codes, followed by a name, or by *N if the item does not have a name, followed by keywords, and finally a semicolon.

DCL-C - Define a named constant
DCL-DS and END-DS - Define a data structure
DCL-PARM - Define a parameter
DCL-PI and END-PI - Define a procedure interface
DCL-PR and END-PR - Define a prototype
DCL-S - Define a standalone field
DCL-SUBF - Define a subfield

DCL-S abcdefghij CHAR(10);

DCL-DS ds1;
       subf1 CHAR(10);

DCL-PR pr1;
     subf1 CHAR(10);

<Previous   Next>