cancel
Showing results for 
Search instead for 
Did you mean: 

Basic Constraint Questions

Former Member
0 Kudos
673

Hi All,

            Just started looking / trying to create constraints & have some (probably very) basic questions.

1,

     In the object section when you are declaring a class, I get an error when trying to use the following..

objects:

ngl is_a(300) 07930

  ...the error messages i get are...

'E28065 Syntax error in class entry: expression required in form <(...)...>

E28025 Syntax error in constraint'

  If I change the declaration to...

objects:

ngl is_a(300) TEST_7931

  ...all is fine.

  From this I'm assuming that you can not set a class that is numeric within a constraint. Yes / No? Is there a way to do so?

2,

     If you use a restriction to set a value in a characteristic from a range of pre-defined values, i.e...

restriction:

ngl.C7900_GAS_MEASURMENT_01 = 'N'

  ...is it then possible to be able to override this manually with one of the other values, as you are creating the config. Seems to block any other value from being selected.

3,

     Can not seem to use NOT SPECIFIED? Is that correct, if so is there another way.

  Please ignore that anything is simple & therefore there are easier ways to do, just trying to understand constraints .

  Thanks in advance.

    Rob.

View Entire Topic
syerazvi
Participant
0 Kudos

Hi Rahul/Rob,

I am getting the attached error if i use a SKEY, my class has a hyphen (please see attached)

E28102 Variable declaration for object expected

E28025 Syntax error in constraintsyntax-error.png

Please kindly advise