F4211 Edit Line -

Frosty the Coder

Legendary Poster
List,

Through dumb luck and perseverence, I was able to ADD a line to cache,
via this bsfn, from w/in P42232 (order acceptance).

Naturally, once they saw this code work from here, I was told to move other WORKING code
from P4210 to here (again forcing a line to cache).

Well, my dumb luck ran out at this point.

The (moved) F4211 Edit Line returns a "2" (hard error) in the error flag.
The ALPH field, which designates what the errors are IS different
than the F4211 Edit Line that is working.

Looking at the bsfn doc, I don't see where ALPH is explained at to what each position represents. Am I missing this w/in the bsfn notes? Has anyone mapped what the diff positions mean?

TIA

Gene
 
Hi!
I had a look at F4211 Edit Line recently and found that this ALPH field should have INPUT parameters. Are you should it has to be output? By the way I found the meanings of several flags in the C code.
As of the hard errors debug both programs and compare the values of the working one with the non-working one. In some cases I found that the solution was just one flag I wouldn't have thought of.
Regards:
Gergely Pongrácz
e-Best, Hungary
 
Gergely,

Your answer is much appreciated.

Here's what I _think_ I know about what I'm trying to do:

The ALPH field looks like it has <> for the arrows in P4210.
P4210 parses this to check for SOME of the errors.

There are 2 character fields that are used for errors.
The 1st simply means "rows written".
The 2nd is no error/warning/hard error.

I found my _LAST_ issue which was that a PM linetype would work
w/out a unit of measure, but a F linetype requires it.
I found this by going parm by parm, changing the value, and trying it.

NOW, I'm battling why I can write an F linetype from an SO order, but not from an SQ.
The SO returns an "N" in the last position of ALPH.
The SQ returns a blank (along w/the "2 - hard error").

I have manually entered an SQ/F line from w/in P4210,
but did not NOTICE it populating anything beyond what I have.
I'm about to start my parm by parm test.
My gut feel is that there is a setup issue on the SQ/F that I'm running into.

My big gripe is that I don't know how to debug the bsfn,
to find WHAT is causing my cError to return the "2".
Yes I can "step into" it, but I don't know "C" nor how to use THAT debugger.

Thanks again.

Gene
 
Res: F4211 Edit Line -

The parm by parm comparison worked.
I found that I had HARDCODED (gasp!) the CMVersion parm.
I changed this to use SL Version Name, and it worked.
 
Back
Top