Hello Experts,
I'm trying to collect the Compref of Anci's as the value returned the way you would see it when you Q COMPREF in the command line in design.
At the moment I can get a value like this =134237789/10098, I'm trying to collect the value like this OLET 1 of BRANCH /pipe1/b1
The PML below is what I have got so far, the !ancicomp.name is not working. I have also tried !ancicompnam = !ancicomp.dbref().name can someone help me with reporting the compref as the string above?
var !ANCI collect all ANCI for CE
do !ancis value !ANCI
!ANCIref = !ancis.dbref()
!ancinam = !ANCIref.name
!ancicomp = !ANCIref.CompReference
!ancicompnam = !ancicomp.name
$p $!ancinam $!ancicompnam
enddo
.