I am a beginner on as400. I have a written cl program.Just a normal addition.Here I am supplying values to the program on run time.Every thing is perfect.program is compiling. When I am trying to send parameter values through Call statement, If I enter the value as 6(variable length is 5). It is throwing an error. Instead of 6 I need to code as X'000006F'. Then It is accepting the values & i can see the o/p what I am expecting.Kindly clarify me regarding this.I mean why this is not accepting the value 6 directly.
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!