HP3000-L Archives

October 1997, 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:
Dave Mohler <[log in to unmask]>
Reply To:
Dave Mohler <[log in to unmask]>
Date:
Wed, 8 Oct 1997 10:47:03 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (44 lines)
MPEX provides access to the PrintOpReply intrinsic through an MPEX
function, which would be available from a job.  The example from the
MPEX help is:

!JOB JOBA,MGR.PROD
...
!RUN MAIN.PUB.VESOFT;PARM=1
%SETVAR FNAME PRINTOPREPLY('Which file should we output to?')
%IF FEXISTS(FNAME) THEN
%  IF PRINTOPREPLY('OK to purge file '+FNAME+'?')='Y' THEN
%    PURGE !FNAME
%  ENDIF
%ENDIF
%FILE MYOUTFIL=!FNAME,NEW;SAVE
%EXIT
...

     Asks the console operator for feedback via the :REPLY command and
uses it
     to set up a :FILE-equation and possibly purge the file (if it
already
     exists).

>-----Original Message-----
>From:  Jeanette and Ken Nutsford [SMTP:[log in to unmask]]
>Sent:  Wednesday, October 08, 1997 10:26 AM
>To:    [log in to unmask]
>Subject:       [HP3000-L] PRINTOPREPLY  equivalent in a Job
>
>We wish to set up a job that needs to be streamed at a specific time each
>day but we do not want the job to start running any programs at that time.
>We need to be able to issue a command equivalent to the PRINTOPREPLY
>intrinsic. ie send a message to the console requesting a reply. When the
>reply is received the job needs to check the reply and decide whether it
>can continue or issue another 'PRINTOPREPLY' request.
>
>Has anyone done this? We cannot find any command that will do this. The
>INPUT command will only send a message and wait for a response from $stdin.
>We need an option to do the same to the console.
>
>Jeanette Nutsford
>Computometric Systems Ltd
><[log in to unmask]>

ATOM RSS1 RSS2