Subject: | |
From: | |
Reply To: | Battey, Jacob |
Date: | Wed, 27 Jan 1999 08:37:31 -0500 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
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?
|
|
|