termtype for batch quick

Walker, Chris ChrisWalker@tateandlyle.com
Tue, 27 Apr 1999 09:57:03 +0100


It looks as if the control sequences might be a result of accessing the
screen (via INFO messages?).

If I had to do this I would define a sequential, variable record length file
in the dictionary and access it via a logical name (this is VMS, I'm afraid
I don't know the equivalent for HP).  Defining the logical name as
SYS$OUTPUT will send the data to the batch log (may be hard to read because
of inconsistent carriage control, but this can be cured by putting a fixed
CR/LF pair at the start of the message).

In practice I send all informational messages to a database table.  This has
the advantage that I can write messages from QTP or Quick, and users can
view logs from Quick screens, which I prefer to requiring them use an
editor.  It's only necessary to look at the batch log if some kind of
exceptional error occurs.

Chris Walker
Tate & Lyle
London

> -----Original Message-----
> From:	pickerij@norbord.com [SMTP:pickerij@norbord.com]
> Sent:	Monday, April 26, 1999 9:00 PM
> To:	ChrisWalker@tateandlyle.com; powerh-l@lists.swau.edu
> Subject:	RE: termtype for batch quick
> 
> Chris Walker writes ...
> 
> >My batch jobs use TERM=VT100 NOTERMPOLL in the Quick command
> >line, and there's no nonsense at all apart from any nonsense I put there
> >myself.  I don't think it matters what terminal you specify, as long as
> >Quick doesn't try to poll it and your screen doesn't try to access it.
> 
> Here's a snippet from a batch run. The record counts are mine. Quick   
> 8.19.C4, when told it has an HP terminal, does all sorts of fiddling. I   
> think there's one set for each "run command" encountered in the screen.   
> It was this stuff that I was trying to eliminate - note that the dots in
> 
> this stuff are actually escape characters. Some of this plays havoc with
> 
> some printers. Using term=vt100 improves things considerably. I was   
> hoping that someone had discovered a termtype that did nothing at all but
> 
> for now vt100 looks like the closest.
> 
> Thanks to all who answered,
> JWP
> 
>     228   :FILE QKGO=MMS745.MMPE
>     229   :QUICK "TERM=HP2392"
>     230
>     235   .H.J.)B.&s1K
>     236
>     237   .&k0B.&s0d0e0f0g1h1a0b1C.b.X
>     238   .&s0a0b0c0d0g0H
>     239   .&k0B
>     240   .&k0B.&s0d0e0f0g1h1a0b1C.b.X
>     241   .&s0a0b0c0d0g0H
>     242   .&k0B
>     243   .&k0B.&s0d0e0f0g1h1a0b1C.b.X
>     244   .&s0a0b0c0d0g0H
>     245   .&k0B
>     246   .&k0B.&s0d0e0f0g1h1a0b1C.b.X
>     247   .&s0a0b0c0d0g0H
>     248   .&k0B
>     249
>     250   ---------------------------------------------
>     251
>     252       Total AP  records:    65
>     253       Total GL  records:    65
>     254       Total all records:   130
>     255
>     256   ---------------------------------------------
>     257
>     258   .&k0B.&s0d0e0f0g1h1a0b1C.b.X
>     259   .&s0a0b0c0d0g0H
>     260   .&k0B
>     261   .&k0B.&s0d0e0f0g1h1a0b1C.b.X
>     264   .H.J..&d@QUICK session completed...
>     265   .&s0a0b0c0d0g0H
>     266   .&k0B
>     269
>     270   END OF PROGRAM
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
powerh-l@lists.swau.edu is gatewayed one-way to bit.listserv.powerh-l
This list is closed, thus to post to the list, you must be a subscriber.