Subject: | |
From: | |
Reply To: | |
Date: | Mon, 26 Jan 1998 11:58:25 -0800 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Manuel T. Ruiz wrote:
>
> It's possible to create a file from an UDC execution ?
>
> I'm trying to create a log file depending over some actions,
> something like in Unix.
>
> For example "echo The action before is ok > filename", then you
> create a file containing the line "The action before is ok"
Hi Manuel,
You've got it! By default it will create a session- (or job-)
_temporary_ file, 256 byte variable ascii, with a 10000 record limit:
FILENAME CODE ------------LOGICAL RECORD-----------
SIZE TYP EOF LIMIT R/B
FILENAME 256B VA 1 10000 1 (TEMP)
Plus, using double redirection (>>), you can append lines to the file:
echo The action after is ok >> filename
Now filename has:
The action before is ok
The action after is ok
FWIW!
+------------------------------------------------------------------+
My mind is my own, as are my ideas and opinions.
My heart, body, and soul, however, all belong to others. Tim.
+------------------------------------------------------------------+
Tim Ericson tericson DenKor Dental Management Corp.
Sr. Programmer/Analyst at denkor (aka Willamette Dental Group)
(& Systems Manager) dot com 503-526-4440 (direct number)
Programming HP3000s since 1983! look! -> http://www.denkor.com
+------------------------------------------------------------------+
|
|
|