I'm trying to access records from a file that has eight fields defined with the time attibute. When I examine the data held in these fields they are mostly set to *LOVAL i.e. 00.00.00 in *ISO format which according to the RPGLE reference manual is an allowable value. However, when my program attempts to read a record, I get a data mapping error for each of the time fields that has a value of 00.00.00. The error code associated with the mapping error is "An unexpected null field was found.". The program is compiled with ALWNULL(*YES).
Can someone please tell me why this is happening and what I need to do to resolve this issue.
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!