Skip to main content

Normally when I have a mistake in my source program, e.g. a misspelled name of a variable, I receive the message

Rebuild complete with errors

But whe I use the declarative

$SET  p(prexml)  endp

and I have a misspelled variable (that does not exist) within an XML instruction

 

e.g.

               write CIBERSAT key is InformacionAduanera-P.

 

where InformacionAduanera-P. should be in the  XD

xd factura-XML.

….

000244  03 Conceptos identified by "cfdi:Conceptos"

000245                      count in Conceptos-count.

000246

000247   04 Concepto identified by "cfdi:Concepto"

000248                   count in Concepto-count.

000249    05 InformacionAduanera identified by "InformacionAduanera"

000250       count in InformacionAduanera-count.

000252   07 numero-p PIC X(80) identified by "numero" is attribute count

000253         in numero-count.

 

 is not declared, (the –P is missing)  I do not receive the message

 

Rebuild complete with errors

 

but instead just     Rebuild complete

but the line with the mistake is not included. Due to the message Rebuild complete I am sure every thing is ok, but no, the line is not compiled.

 

I suppose the problem is with the pre-compiler, that does not report the syntax error situation to the compiler.


#XML