FIND statement and WITH clause

Friends,

I have never seen a FIND statement coded without a WITH clause. The document also says it is required.

[url]http://techcommunity.softwareag.com/ecosystem/documentation/natural/nat426mf2/sm/find.htm#WITH_Clause[/url]

Then why in FIND syntax it is given as optional (i.e. in square bracket )

[url]http://techcommunity.softwareag.com/ecosystem/documentation/natural/nat426mf2/sm/find.htm[/url]

[url]http://techcommunity.softwareag.com/ecosystem/documentation/natural/nat426mf2/sm/synsym.htm#synsym[/url]

Hope, I understand syntax symbols correctly :smiley:

The WITH clause is required; the WITH keyword is optional.

The following are equivalent:

FIND EMP WITH DEPARTMENT = 'ADMA'
FIND EMP DEPARTMENT = 'ADMA'

Thanks Ralph! Got it clear.