Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Which LIbrary Contains Intrinsic Functions? 1

Status
Not open for further replies.

webrabbit

MIS
Jan 31, 2003
1,059
US
Micro Focus COBOL Version 3.2.46, Windows XP Pro

I tried to use intrinsic function INTEGER_OF_DATE, and the run time got a load failure on that function. It seems to me that I had that information at one time, but I cannot find it now.
 
I don't have MicroFocus COBOL available, but IBM Enterprise COBOL mentions:
"The DATE-OF-INTEGER function converts a date in the Gregorian calendar from integer date form to standard date form (YYYYMMDD)."
and
"The INTEGER-OF-DAY function converts a date in the Gregorian calendar from Julian date form (YYYYDDD) to integer date form."

When you used this previously, was it a standard function or a a custom/site-specific function?


 
Thu function's name isn't INTEGER_OF_DATE but INTEGER-OF-DATE
 
Thahks. I'm so used to the built-in subprograms having underscores, I just automatically use them. I see that the intrinsic functions use hyphens. Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top