1,025 pts.
 AS400 – Files
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?

Software/Hardware used:
ASKED: November 4, 2011  11:19 AM
UPDATED: March 19, 2012  1:11 PM
  Help
 Approved Answer - Chosen by Michael Morisy

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

ANSWERED:  Nov 4, 2011  6:47 PM (GMT)  by Michael Morisy

 
Other Answers:
Last Wiki Answer Submitted:  October 16, 2012  4:33 pm  by  Michael Tidmarsh   11,405 pts.
Latest Answer Wiki Contributors:  Michael Tidmarsh   11,405 pts.
To see other answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _