We have some JCL that does a IEBGENER. It copies a AFP file to OnDemand. When we execute the JCL, we receive return code of 0. But, when the file tries to load to OnDemand, the file does not load and OnDemand gives a bad return code. We think everything is loaded correctly since we receive a return code of 0. My question is there a way to pick up the OnDemand return code and present it to the executed JCL?