× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Ooops...sorry, I misread your post.

I inquired on UDF's a few years ago with a member of the Cobol team
(Cindy Lee) but there didn't appear to be any internal support. She
was going to poll the COBOL community on the iSeriesNetwork forums
but never got around to it...don't know what happened to her...

Last I knew, most of the newer stuff was being added to the Cobol
compiler on the AIX platform.

You might want to inquire at the Cobol Cafe on the DeveloperWorks
forum:

https://www.ibm.com/developerworks/rational/community/cafe/cobol.html

Terry

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Stone, Joel
Sent: Tuesday, May 01, 2012 2:33 PM
To: 'Midrange Systems Technical Discussion'
Cc: Winchester Terry
Subject: RE: COBOL user-defined functions

Thanks, but I am inquiring about USER-DEFINED functions, not
ibm defined functions.

In RPG and all other modern widely-used languages,
user-defined functions are the cornerstone of what makes the
language popular and powerful - ie users can create their own
commands to utilize.

Why doesn't COBOL/400 or COBOL/ILE support used defined
functions? Is it just being left to die? Or is there some
reason that it doesn't??


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Winchester Terry
Sent: Tuesday, May 01, 2012 1:20 PM
To: 'Midrange Systems Technical Discussion'
Subject: RE: COBOL user-defined functions


The V5R4 Reference Manual is located here. See Chapter 15 -
Intrinsic Functions

http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/bo
oks/sc092539.pdf

Terry

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Stone, Joel
Sent: Tuesday, May 01, 2012 10:12 AM
To: 'Midrange Systems Technical Discussion'
Subject: COBOL user-defined functions

Does COBOL/400 or COBOL /ILE support user-defined functions
in any fashion (like RPG and all other modern languages)?

For example,

Move DayOfWeek(Date-input) to print-line

Where DayOfWeek is a user-defined function returning "Monday"
or "Tuesday" or etc.

If not, why not?

Thanks!




______________________________________________________________________
This outbound email has been scanned for all viruses by the
MessageLabs Skyscan service.
For more information please visit http://www.symanteccloud.com

______________________________________________________________________
--
This is the Midrange Systems Technical Discussion
(MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



Confidentiality Notice:

The preceding e-mail message (including any attachments)
contains information that may be confidential, protected by
applicable legal privileges, or constitute non-public
information. It is intended to be conveyed only to the
designated recipient(s). If you are not an intended recipient
of this message, please notify the sender by replying to this
message and then delete it from your system. Use,
dissemination, distribution or reproduction of this message
by unintended recipients is
not authorized and may be unlawful.



--
This is the Midrange Systems Technical Discussion
(MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.


______________________________________________________________
__________
This inbound email has been scanned for all viruses by the
MessageLabs SkyScan
service.
______________________________________________________________
__________

______________________________________________________________________
This outbound email has been scanned for all viruses by the
MessageLabs Skyscan service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________
--
This is the Midrange Systems Technical Discussion
(MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



Confidentiality Notice:

The preceding e-mail message (including any attachments) contains information that may be confidential, protected by applicable legal privileges, or constitute non-public information. It is intended to be conveyed only to the designated recipient(s). If you are not an intended recipient of this message, please notify the sender by replying to this message and then delete it from your system. Use, dissemination, distribution or reproduction of this message by unintended recipients is
not authorized and may be unlawful.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.