I am using one File in Rpgle Program. I am reading the File. In debug mode, I am trying to see all the field values which is in File. But i am not able to see all the field values. I am able to see the field values which i used in program. What is reason for this?
If a variable (a field) is not referenced in program instructions, it will not be brought into program memory. There is no need for program code to fetch fields that aren't used, so the fetch instructions are not generated.
Set the DEBUG(*INPUT) H-spec keyword if you want to force all fields to be brought even if you don't use them.
Post back if that doesn't help.
Tom
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!
Discuss This Question: 2  Replies