Skip to Content
avatar image
Former Member

Variant Configuration - Not Specified Syntax

Hi gurus,

I am trying to write a procedure that sets a value based on the condition but only if that value is not already set with something else. Code below:

$SELF.A_1 = 'OK'

IF A_2 = 'GO' AND

A_1 NOT SPECIFIED

A_1 SPECIFIED seems to work, but A_1 NOT SPECIFIED is failing the syntax check. The help notes dictate that NOT SPECIFIED can work in procedures, so maybe someone can tell me what I am doing wrong?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Jun 15, 2017 at 07:49 PM

    Figured it out, just odd syntax.

    SPECIFIED char WORKS

    char SPECIFIED WORKS

    char NOT SPECIFIED DOES NOT WORK

    NOT SPECIFIED char WORKS

    Add comment
    10|10000 characters needed characters exceeded