Page 1 of 1

Error Message "Invalid selector expression"

Posted: Wed Nov 15, 2017 4:54 pm
by John
Hi,

How are we suppose to figure out what certain error messages are? The one in red in the screenprint I don't understand. I could ask in the vlforums but they might get sick of me asking a whole heap of questions lol. I've looked online on the LANSA Support page and searched for the error message but nada. Is there somewhere where I can find this info?
Clipboard01.jpg
Clipboard01.jpg (294.01 KiB) Viewed 4073 times
It would be really helpful if there was a meaningful explanation behind the error message. Like in SEU on the iSeries where the error message is displayed and you can press F1 to see the Cause and the Recovery.

Additional Message Information

Message ID . . . . . . : RNF2003 Severity . . . . . . . : 20
Message type . . . . . : Diagnostic

Message . . . . : The File Type is not I, O, U, or C; defaults to O if File
Designation is blank, otherwise to I.
Cause . . . . . : The File-Type entry (position 17) of a File Description
specification is not I (input), O (output), U (update) or C (combined). The
File-Type entry defaults to O if the File-Designation entry (position 18) is
blank; otherwise, the File-Type entry defaults to I.
Recovery . . . : Specify an I, O, U, or C (position 17) for the File-Type
entry. Compile again.

Re: Error Message "Invalid selector expression"

Posted: Thu Nov 16, 2017 1:47 am
by jyoung
I think you are mixing selectors and parameters in your ExecuteAsync call.

I get the same error if I use parameters and selectors.
error.png
error.png (9.94 KiB) Viewed 4056 times
Pick one or the other, don't mix them.

As for the error messages, I've brought up the need for better error messages before.
viewtopic.php?f=6&t=1237

The dreaded
Message : (0586) - Component Manager request of type 3 (decimal value) failed with return code -1 (decimal value).
is the worst. IMHO.

Hopefully they can put better messages in soon.

Edit

Don't worry about asking a "whole heap of questions". You should see all the questions I have asked. lol.

Here is another one that better error messages would have save a couple days of work and research. viewtopic.php?f=3&t=1319

Joe