× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Holden Tommy wrote:
   4. Create product (Holden Tommy)

http://code.midrange.com/index.php?id=f880f45f4b

This is incomplete code but I wanted to test it up to this point before
proceeding.  The create product definition is working fine but the
create product load is failing due to "invalid object *N"  I have no
idea where the *N is coming from or how to fix it.  I'm hoping someone
can point me in the right direction, I'm sure its something stupid I'm
doing but can't see it.

I don't see the problem, but I haven't checked your code in detail either. Two things first:

1. What error are you getting? I mean, one potential error from QSZCRTPL is:

CPF3C29 E     Object name &1 is not valid.

But that's not exactly "invalid object *N". So, how about a msgid? Any other joblog hint?

2. Seems to me that your fastest resolution is simply to run a DUMP before calling QSZCRTPL. Look at the values you're preparing to send into the API. Debug is nice, but it focuses your attention on just the problem at hand -- it kind of blinds you to the problem that's going to happen next because it doesn't encourage you to view overall program memory. First guess is that one of the object names is misaligned or improperly initialized. (Duh!, eh?) E.g., you're passing in a non-blank 'additional library' or 'postoperation exit program' name, perhaps a folder or directory name.

These APIs are far less user-friendly and forgiving than others simply because nobody has used them since they were introduced. (Okay, that's stretching the truth -- but not by much.) With zero info on what all you're passing in, it's blind guesswork.

Tom Liotta


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.