Identify enforced naming conventions.
The following table provides a summary of the naming conventions enforced by the database server.
Statement | Dynamic SQL | Use an extended dynamic SQL package |
---|---|---|
Local | Statement name must adhere to iSeries™ naming convention, although the
format of STMTxxxx is suggested Cursor name must adhere to iSeries naming conventions |
Statement name must adhere to iSeries naming convention, although the
format of STMTxxxx is suggested Cursor name must adhere to iSeries naming conventions |
DRDA® | Statement name must be in the format of STMTxxxx Cursor name must be in the format: CRSRyyyy for non-scrollable cursors or SCRSRyyyy for scrollable cursors where yyyy is the same as xxxx. |
Statement name must be in the format of Sxxxx Cursor name must be in the format of Cyy for non-scrollable cursors where yy is the same as xxxx and yy is between 1 and 15. |