I am using the below sql to get the day of week but i am getting :NumWeekDay as 0
I am using V5R3...can some help me on this to get the day of week.
C/Exec SQL Set :NumWeekDay = DayOfWeek_ISO(:MyDate)
the above sql to get the day of week
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!