On 6/05/2016 11:44 PM, John McKown wrote:
On Fri, May 6, 2016 at 10:03 AM, Scott Ford <[email protected]> wrote:

All,

I need to know or where to find, can a z/OS batch job or STC calling a C
routine write output to a TYPE=MEMORY file. I am trying to eliminate the
usage of a real file. The application is time sensitive and handles
sensitive data.

All comments and suggestions are appreciated.

Scott
IDMWORKS


​Seems to. The doc for fopen() has a "type=memory" ref:
https://www.ibm.com/support/knowledgecenter/SSLTBW_2.1.0/com.ibm.zos.v2r1.bpxbd00/fopen.htm

It's worth mentioning that a C/C++ type=memory file is not a VIO file. It's a memory file, with the memory being either heap storage or hiperspaces. I use the later quite extensively.

I don't see any reason why it would not work in any supported environment
(e.g. maybe not in CICS) such as UNIX, batch job, or STC. ​




----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to