I want to pass one variable MYDATE of type(L) date from my PF to Display file through simple RPG program and how can I define result field in display file either as numeric or as alphanumeric.
Please help me as early as possible, it will be helpful to me.
Hi Mohan,
It has been a while since a do not use SDA, but I remember that it did not support date/time/timestamp fields. I do not know if importing PF fields into SDA solves the problem (I kind of remember it does not, it just changed the field type to a zoned equivalent) but if not, you can generate the DDS file anyway and then change the definition for those fields through SEU.
At the end, the line should be like this:
A PF_FIELD L 6 63DATFMT(date-format)
I hope this helps,
Gerardo.
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: 4  Replies