HP3000-L Archives

January 1999, 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:
"Battey, Jacob" <[log in to unmask]>
Reply To:
Battey, Jacob
Date:
Wed, 27 Jan 1999 08:37:31 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (21 lines)
I noticed some interesting behavior of jobs that I can't find documented
or even mentioned anywhere, but struck me as being potentially useful.
For instance:

!JOB whatever,whoever.acct;etc.
!SETVAR GET_INPUT, "?PLEASE ENTER SOMETHING:?"
!TELL !HPSTREAMEDBY, !GET_INPUT
!EOJ

Whoever streamed it gets this prompt:
PLEASE ENTER SOMETHING:?
before the job is actually kicked off (before it shows up with SHOWJOB)
and replaces whatever is between the question marks with whatever you
type at the prompt.

I use MPEX for batch jobs.  BREAK and things behave as they should, and
I think as long as it's used with SETVAR and input is checked doing this
should be as safe as any other method of getting interactive input.
Anybody familiar with this?  In particular, anybody see any security
considerations?

ATOM RSS1 RSS2