Joined: 07 Feb 2009 Posts: 1101 Location: Oostende, Belgium
While executing a PLI/IMS program, I am getting IBM1792I S The locator qualified reference VAR1 is unknown for the below statement.
If POINT-> VAR1 = 'ABC'
DCL POINT PTR;
DCL P PTR;
DCL 1 STRUCT BASED(P)
2 VAR1 CHAR(2);
But I have declared this as based variable. any idea ??
Use correct terms, message IBM1792I S is a compile-time message and is described in the manuals. It would have been useful if you had shown any other error messages, but in all likelihood there are other error messages related to either STRUCT or VAR1!
FWIW, there is a comma missing after DCL 1 STRUCT BASED(P)...