May 12, 2011, 12:21 PM
John_EdwardsWould Somebody Please Fix HNAME
HNAME is supposed to return the two-digit month code when you request the month and it returns the month's text name instead. It's been wrong for years, it's time that someone fixes it so that it works the way it's spec'd in the documentation.
J.
May 13, 2011, 10:53 AM
jgelonaI've never used HNAME, but you are right, it return "MA" for May instead of '05'.
Have you tried opening a problem report with IBI?
May 13, 2011, 11:02 AM
John_EdwardsNo, I just work around it with A8YYMD and move on. If I open a ticket they're going to want sample code and I bill by the hour so it's not terribly appropriate to use the time that way.
A8YYMD is a two-step process and not as intuitive to the people that will follow me and maintain my code. This should just work the right way in the first place.
J.