ERR=10 *nomads /pvx/lib/*winproc - Line 230

Started by Lawrence_Leavell, May 04, 2019, 01:10:38 PM

Previous topic - Next topic

Lawrence_Leavell

No matter what I do, I cannot seem to build a query.
The *nomads generator stops at /pvx/lib/*winproc with an ERR=10 on line 230.
What am I doing wrong?
Lawrence Leavell

Susan Cryderman

It looks like line 230 of *winproc is dealing with the Prefix value from Library Defaults.  I'd check that the library default Prefix setting for the screen library where you have created your query is correct.

Mike King

Just an FWIW:  Make sure the prefix does not start with a character whose hex value is $80$ or higher.

A typical mistake is to include the default SEP character in the prefix (default SEP is $8A$).
Mike King
President - BBSysco Consulting - http://www.bbsysco.com
eMail: mike.king@bbsysco.com

Peter.Higgins

Something to keep in mind when working with Nomads

Nomads creates a shadow copy of the panel you are working on (if none exists) by doing AND $80$ on the first character of every key for the panel.   You are working with the shadow copy until the panel is saved or abandoned. 
A good example of this is to shift insert on a field, then paste into a text editor.  The record will start with a special character, not the one you were expecting and the asc() will be 128 higher.

So when you open a panel and on exit after no changes and get the messages save and abandon, the shadow record still exists because someone did not abandon their changes however many years earlier.