Send Email from Natural / Natural Language

Software AG's platform-independent programming language with full support for open-source and Internet applications
newjb
Posts: 20
Joined: Fri Sep 07, 2012 11:25 pm
Skillset: JCL, EASYTRIEVE, NATURAL
Referer: Google

Send Email from Natural / Natural Language

Postby newjb » Wed Oct 10, 2012 5:53 am

Anyone have example code to send an email from a Natural program?

What is the status of the Natural programming language? Is it a dying language?

Thank you

User avatar
RGZbrog
Posts: 101
Joined: Mon Nov 23, 2009 1:34 pm
Skillset: Natural, Adabas, Predict, Natural Security, Construct, EntireX, SPoD, NaturalONE
Referer: SAG Developer Forum
Location: California, USA
Contact:

Re: Send Email from Natural / Natural Language

Postby RGZbrog » Wed Oct 10, 2012 9:41 pm

Natural has no native e-mail support, but you can still do this. How it is done depends on the hardware platform (mainframe or Linux/Unix/Windows), operating system, and mode (batch or on-line) in which Natural runs.

. Use NATRJE to spawn a batch job which sends the message - mainframe.
. I have not worked with Entire System Server, but have been told that it supports e-mail - mainframe.
. Set-up a (batch) RPC server to send the mail, and call it from any Natural module - all.
. Use SHCMD - L/U/W.
. Make calls to MS Office - Windows.

As far as status, Natural is here to stay. Software AG continues to support and enhance it. It would be nice to see growth in the number of sites, though.

newjb
Posts: 20
Joined: Fri Sep 07, 2012 11:25 pm
Skillset: JCL, EASYTRIEVE, NATURAL
Referer: Google

Re: Send Email from Natural / Natural Language

Postby newjb » Thu Oct 11, 2012 7:49 pm

This worked. (NATRJE)
Thanks!

...Status, hard to find any documentation, sites...

User avatar
dick scherrer
Global moderator
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am

Re: Send Email from Natural / Natural Language

Postby dick scherrer » Thu Oct 11, 2012 11:40 pm

Hello,

Suggest you periodically check the Software AG site for status updates and other info.

All of the documentation is available there. . .
Hope this helps,
d.sch.

User avatar
RGZbrog
Posts: 101
Joined: Mon Nov 23, 2009 1:34 pm
Skillset: Natural, Adabas, Predict, Natural Security, Construct, EntireX, SPoD, NaturalONE
Referer: SAG Developer Forum
Location: California, USA
Contact:

Re: Send Email from Natural / Natural Language

Postby RGZbrog » Fri Oct 12, 2012 11:56 am

documentation.softwareag.com

newjb
Posts: 20
Joined: Fri Sep 07, 2012 11:25 pm
Skillset: JCL, EASYTRIEVE, NATURAL
Referer: Google

Re: Send Email from Natural / Natural Language

Postby newjb » Fri Oct 12, 2012 2:27 pm

Thank you for everything. This site has been a huge help.


  • Similar Topics
    Replies
    Views
    Last post