HP3000-L Archives

April 1999, Week 2

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:
Johan BEGHEIN <[log in to unmask]>
Reply To:
Johan BEGHEIN <[log in to unmask]>
Date:
Tue, 13 Apr 1999 11:24:44 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (38 lines)
Hello,

I tried this ...

Build your logfile, with enough records to hold your log data ...

!JOB IPJOB,JOBS.HCUPDATE
!FILE MIKEYBOY.USERDEV,OLD;ACC=APPEND
!ECHO TEST LINE 1 >* MIKEYBOY.USERDEV
!ECHO ![HPJOBNUM] >*MIKEYBOY.USERDEV
!ECHO ![HPDATEF] >* MIKEYBOY.USERDEV
!ECHO ![HPTIMEF] >* MIKEYBOY.USERDEV
!EOJ

And it seems to work fine ...

Best regards.

Mike Hardy wrote in message ...
>Hi all,
>Can someone please help me to stop tearing my hair out!
>I am trying to do something that's so simple - but I just can't make it
>work!
>In a SUPERTOOL job I am trying to echo out the job number and a couple of
>other HP vars to an output file.
>e.g.
>!JOB IPJOB,JOBS.HCUPDATE
>!ECHO TEST LINE 1 >> MIKEYBOY.USERDEV
>!ECHO ![HPJOBNUM] >> MIKEYBOY.USERDEV
>!ECHO ![HPDATEF] >> MIKEYBOY.USERDEV
>!ECHO ![HPTIMEF] >> MIKEYBOY.USERDEV
>!EOJ
>Yes I know this is not a Supertool job - but I'm trying to get it right
>before it goes into the job.
>I will be using the output file for an ongoing log.
>Please help!
>

ATOM RSS1 RSS2