Frosty the Coder
Legendary Poster
List,
With much assistance from the help desk, I created an NER
that formatted phone#. I need to use this in an APPL,
on the PH1 field, properties, override, format, procedure.
When help desk had me create this NER's data structure,
it was with 4 fields (aliases: bhvrerrid, bhvredtst,
dl01, ph1). In the DS's definition, all of these were
marked as "NOT required", and no directional assigned
to them.
I've now tried to write a 2nd NER, to do a similar
function, but from a UBE. _GUESSING_ that DS above
needed 4 fields as it was being called from an
APPL/./././procedure, I tried to create my NEW DS
with one field, marked as required and bi-directional.
I _guessed_ wrong.
My DS and NER generated without a problem, but failed
to give me ANY results, logs, or errors.
Help desk suggested that I use my original NER,
which did the trick. They also pointed me at
doc ott-01-0011 (Title: Named Event Rules).
I _am_ curious as to why my 2nd NER didn't work.
Is there a lower limit on the number of fields
in the NER-DS for it to work? Can an NER be
written using a single field DS? Why did my
1st NER require 4 fields? What do the first
3 fields do?
Do the "required" and directionals work when
writing NERs?
Are there any other "tricks" that one should
be aware of when writing NER?
The doc, ott-01-0011, doesn't really address
these.
Any/all help/guidance is greatly appreciated.
This is XE, SP15.1
Gene
Gene Piekarski, Jr
AS/400, B733, SP11.2, NT client
AS/400, B733, SP14, W2000 client
XE, SP13
With much assistance from the help desk, I created an NER
that formatted phone#. I need to use this in an APPL,
on the PH1 field, properties, override, format, procedure.
When help desk had me create this NER's data structure,
it was with 4 fields (aliases: bhvrerrid, bhvredtst,
dl01, ph1). In the DS's definition, all of these were
marked as "NOT required", and no directional assigned
to them.
I've now tried to write a 2nd NER, to do a similar
function, but from a UBE. _GUESSING_ that DS above
needed 4 fields as it was being called from an
APPL/./././procedure, I tried to create my NEW DS
with one field, marked as required and bi-directional.
I _guessed_ wrong.
My DS and NER generated without a problem, but failed
to give me ANY results, logs, or errors.
Help desk suggested that I use my original NER,
which did the trick. They also pointed me at
doc ott-01-0011 (Title: Named Event Rules).
I _am_ curious as to why my 2nd NER didn't work.
Is there a lower limit on the number of fields
in the NER-DS for it to work? Can an NER be
written using a single field DS? Why did my
1st NER require 4 fields? What do the first
3 fields do?
Do the "required" and directionals work when
writing NERs?
Are there any other "tricks" that one should
be aware of when writing NER?
The doc, ott-01-0011, doesn't really address
these.
Any/all help/guidance is greatly appreciated.
This is XE, SP15.1
Gene
Gene Piekarski, Jr
AS/400, B733, SP11.2, NT client
AS/400, B733, SP14, W2000 client
XE, SP13