I have written an RPGLE program which was called from a CL with parameters. When I run this program interactively it gave me results as expected, but when I change the CL from direct call to Batch call via SBMJOB with parameters it doesn't give me any results. When I checked it in WRKACTJOB it was running there in Batch mod but when I saw its message it was saying that it has some decimal data error occured. Why it was running smoothly in interactive mod and not running in batch mod?
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!