× 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.



Hi Joel,

If you have TAATOOLS there is a command called WRTSRC that does this.

Copy the contents of the DTAARA into a Variable in your CLP and then call
WRTSRC to write this variable to a Physical File.



Thanx,

Nick



Nick Radich
Sr. Programmer/Analyst
EPC Molding, Inc.
Direct (320) 679-6683
Toll free (800) 388-2155 ext. 6683
Fax (320) 679-4516
nick_radich@xxxxxxxxxxxxxx



From: "Stone, Joel" <Joel.Stone@xxxxxxxxxx>
To: "midrange-l@xxxxxxxxxxxx" <midrange-l@xxxxxxxxxxxx>
Date: 02/08/2013 02:40 PM
Subject: RE: how to copy dtaara text into a physical file
Sent by: midrange-l-bounces@xxxxxxxxxxxx



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?




-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [
mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Buck Calabro
Sent: Friday, February 08, 2013 2:23 PM
To: midrange-l@xxxxxxxxxxxx
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?

Anything better than CL & SQL?

I know it helps me if I can have an understanding of the business
problem. 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'?
--buck

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.