public ProgramCallDocument(AS400 sys,
Constructs a ProgramCallDocument. The PCML or XPCML document resource will be loaded from the classpath. If the document is a PCML document, the classpath will first be searched for a serialized resource. XPCML documents cannot be serialized. If a serialized resource is not found, the classpath will be searched for a PCML or XPCML source file.
sys - The AS400 on which to run the program.
docName - The document resource name of the PCML document for the programs to be called. The resource name can be a package qualified name. For example, "com.myCompany.myPackage.myPcml"
PcmlException - when the specified PCML document cannot be found
Is it possible that your PCML or XPCML resource is not on the classpath?
Thanks for the quick reply.
Could you please be a little more clear with what I should do.
This project used to work fine before.
Now all of a sudden, it's giving this error.
It'll be really great of you if you could give some more info reg this.
thanks in advance
I have no experience of what you're trying to do with IBM/AS400, but from reading up on the error message it does state that it may be due to the PCML file not being found.
You say it worked previously, can you remember what you have changed recently that would affect this? Do you have SVN or some other SCM where you can check logs?
I found another http://www.tek-tips.com/viewthread.cfm?qid=924438&page=6"" target="_new" rel="nofollow">post, where someone states that the PCML file has to be in the same location as the class file, you could try that. Or check some other scenarios in your application where these features are being used