Page 1 of 1

Retrieve contents of a Data Area (dtaara)

Posted: Thu Jun 10, 2010 6:55 pm
by BillTW
Is it possible to retrieve the contents of a data area in a i5 library and insert the data into the body of an E-mail?

Thank you,

bill

Re: Retrieve contents of a Data Area (dtaara)

Posted: Mon Jun 21, 2010 10:14 am
by Support_Duane
Yes, it is possible to retrieve the contents of a data area, and do with them whatever you choose. In order to accomplish this, you must create a program (either CL, RPG or other language of your choice) that will retrieve the data area and place the contents in a variable. This variable can be referenced in a project using the Execute i5/OS Command or Program task.

You can see an example of this at http://www.goanywhere.com/forum/viewtop ... f=21&t=247