I am not able to print page number. Can anyone help me on it. I am getting below error while composing xml file
ERROR: invalid xycode name (2) name =

I am not able to print page number. Can anyone help me on it. I am getting below error while composing xml file
ERROR: invalid xycode name (2) name =
Hi Manoj,
It's telling you it cannot find the macro (xycode) in the specs.
You'll need to make sure the macro used to call the page number is in your macro spec. And, it needs to be an exact match, so check for typographical errors in the names.
Hope this helps resolve your issue.
Where are you trying to output the page number? Probably a frill block. Go to the page layout that is used to output your page(s) and check the "Block Content (Frills only)" field.
As Pattie said, check the macro that is being called. Although I'm a little puzzled as to your error: normally, XPP states the xycode name. eg. ... name = zap (or whatever macro XPP couldn't find).
Is the error message you quote the full extent of the message? Perhaps post a few more lines above/below. That may provide additional information we can help with.