INPUT THROUGH issues

whwar9739

Member
Hello everyone,

I am having an unusual issue.

I have a line similar to the following in my code.

Code:
INPUT THROUGH echo '\\"ASDFasdf\\"'.
IMPORT passrec.
EXPORT passrec. /* FOR TESTING */

When I look at the exported record it has "echo:" "No" "match." in the first 3 fields. Can anyone help me troubleshoot this issue.

Thanks,
 
Use IMPORT UNFORMATTED passrec to get the whole message. The "echo:" is telling you that you are getting an error message.
 
Thank you, I think that revealed my true error. It would appear I was trying to set something to a logical field but not pulling in a logical value.
 
That'll do it!

As a general rule, I prefer pulling things in with UNFORMATTED and doing any parsing in the code. That way, you know that you start out with the whole thing and error handling tends to be easier and more informative.
 
Back
Top