The QWCRDTAA API that I cited could be part of a UDF, of course - but
why not call it directly in COBOL? That's the language in use where Joel
works, certainly more than RPG.
On 2/8/2013 2:59 PM, Roger Harman wrote:
What about a UDF to grab the data area contents and return to the SQL?
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Stone, Joel
Sent: Friday, February 08, 2013 12:36 PM
Subject: RE: how to copy dtaara text into a physical file
No 3rd party stuff. All internal.
Performing an ETL function, dropping the output files on a network folder.
Need to drop a single sentinel file on another network folder telling a
network scheduler that the ETL files are ready to pick up.
I keep a data area showing the ETL start/end dates/times. I would like to
send that data area contents as the sentinel file.
I am planning on RTVDTAARA into a CL var, then SQL INSERT that into a table
to be dropped onto a network file via QNTC as the sentinel file.
Any better / simpler method?
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Buck Calabro
Sent: Friday, February 08, 2013 2:23 PM
Subject: Re: how to copy dtaara text into a physical file
On 2/8/2013 3:08 PM, Stone, Joel wrote:
What is a simple way to accomplish?
I know it helps me if I can have an understanding of the business problem.
Anything better than CL & SQL?
Is there a 3rd party program putting a status in a data area and you want to
keep an audit log? What tooling is available to you?
CL, Cobol, Java, MI, PL/I, Python, QShell, Rexx, RPG? What drawbacks would
you like to avoid? Batch, interactive (is response time paramount)? Are
you in 'let's learn something cutting edge' mode, or more like 'let's just
bang this one out'?
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,
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
This outbound email has been scanned for all viruses by the MessageLabs
For more information please visit http://www.symanteccloud.com