PxPlus User Forum

Main Board => Discussions => Nomads => Topic started by: Lawrence_Leavell on May 04, 2019, 01:10:38 PM

Title: ERR=10 *nomads /pvx/lib/*winproc - Line 230
Post by: Lawrence_Leavell on May 04, 2019, 01:10:38 PM
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
Title: Re: ERR=10 *nomads /pvx/lib/*winproc - Line 230
Post by: Susan Cryderman on May 06, 2019, 08:55:01 AM
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.
Title: Re: ERR=10 *nomads /pvx/lib/*winproc - Line 230
Post by: Mike King on May 06, 2019, 10:20:43 AM
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$).
Title: Re: ERR=10 *nomads /pvx/lib/*winproc - Line 230
Post by: Peter.Higgins on May 24, 2019, 08:36:09 AM
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.