HP3000-L Archives

January 1998, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Tim Ericson <[log in to unmask]>
Reply To:
Tim Ericson <[log in to unmask]>
Date:
Mon, 26 Jan 1998 11:58:25 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (41 lines)
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
  +------------------------------------------------------------------+

ATOM RSS1 RSS2