MSCEWI3049

Package constants in stateful package are not supported yet.

Severity

Medium

Description

This warning is added when there is a member of a Stateful Package that is not supported yet.

This feature is planned to be delivered in the future.

Example Code

Input Code:

CREATE OR REPLACE EDITIONABLE PACKAGE MY_PACKAGE AS
  -- Constants
    myConstant CONSTANT FLOAT := 5.16; 
END;
 

Output Code:

CREATE SCHEMA IF NOT EXISTS MY_PACKAGE ;
-- Constants
/*** MSC-ERROR - MSCEWI3049 - PACKAGE CONSTANTS in stateful package MY_PACKAGE are not supported yet ***/
  /*    myConstant CONSTANT /*** MSC-ERROR - MSCEWI1037 - TRANSLATION FOR FLOAT IS PLANNED TO BE DELIVERED IN THE FUTURE ***
 FLOAT := 5.16;*/;

Recommendations