Try OpenEdge Now
skip to main content
Object-oriented Programming
Programming with Class-based and Procedure Objects : Class-based and procedure object compatibility : Invalid ABL within a user-defined class
 

Invalid ABL within a user-defined class

Several ABL statements have been identified as deprecated (obsolete) language features. The life-cycle of products and features are identified in the OpenEdge 10 Platform and "Product Availability Guide" available on the Progress Software Corporation Web site: http://communities.progress.com/pcom/docs/DOC-105512.
The product direction states that applications using these languages elements will continue to function but it is strongly recommended that applications should stop using these features. In addition, the guide identifies that these features will not get bug fixes or any enhancements.
From these ABL deprecated features, classes do not support the following language elements at all. If the compiler encounters any one of these statements in a class, it generates an error:
*Support for SQL within ABL:
*ALTER TABLE statement
*CLOSE statement
*CREATE INDEX statement
*CREATE SCHEMA statement
*CREATE TABLE statement
*CREATE VIEW statement
*DECLARE CURSOR statement
*DELETE FROM statement
*DROP INDEX statement
*DROP TABLE statement
*DROP VIEW statement
*FETCH statement
*GRANT statement
*INSERT INTO statement
*OPEN statement
*REVOKE statement
*SELECT statement
*UNION statement
*UPDATE statement
*CHOOSE statement
*EDITING phrase in UPDATE, SET, PROMPT-FOR statements
*GATEWAYS function
*GO-PENDING function
*IS-ATTR-SPACE function
*PUT SCREEN statement
*SCROLL statement