HP3000-L Archives

March 1997, Week 3

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:
Reply To:
Ron Burnett <[log in to unmask]>
Date:
Wed, 19 Mar 1997 21:31:19 EDT
Content-Type:
text/plain
Parts/Attachments:
text/plain (27 lines)
> :SETVAR TYPE "T"
> :PURGE BUTYPE
> :FILE BUTYPE;REC=-1,,F,ASCII;DISC=1;SAVE
> :ECHO !TYPE > *BUTYPE
> The CI cannot write to output file. (CIERR 9096)
> REMAINDER OF JOB FLUSHED.
> CPU sec. = 4.  elapsed min. = 1.  TUE, MAR 18, 1997, 11:41 AM.

I've just been experimenting with this sort of thing today
(I want to have backup jobs and certain critical user-streamed
jobs write a record of start and end times to an easily
accessible global job log which is a flat file).  What
you need to do is change the above to something like

!setvar type "t"
!if finfo ('butype','exists') then
!     purge butype
!endif
!build butype;rec=-1,,f,ascii;disc=1
!file butype=butype,old;acc=append
!echo !type > *butype
! .... etc .....

HTH,
Ron Burnett
[log in to unmask]

ATOM RSS1 RSS2