HP3000-L Archives

May 2001, Week 3

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:
"Leonard S. Berkowitz" <[log in to unmask]>
Reply To:
Date:
Mon, 21 May 2001 13:10:20 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (74 lines)
Jonathan,

MPEX will do it. Here is an example from their Help facility:

   !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

===================
Leonard S. Berkowitz
Perot Health Care Systems
(Harvard Pilgrim Health Care account)
voice: 617-509-1212
fax:   617-509-3737
pager: 781-226-2431







"Jonathan M. Backus" <[log in to unmask]> on 05/21/2001 12:42:22 PM

Please respond to [log in to unmask]








 To:      [log in to unmask]

 cc:      (bcc: Leonard Berkowitz/CORP/HPHC)



 Subject: [HP3000-L] Console prompting from a batch job








        Does anybody know of a little utility program that can be placed in a
batch
job that would then prompt the console for a reply and it would then set a
variable based on the reply before moving on?  I'm not looking for variable
replacement at stream time but rather variable creation during execution of
a job.

Thanx,
  Jonathan (Jon) M. Backus, MPE-CSM ~ President
  Tech Group ~ 15 Catawba Place ~ Hagerstown, MD ~ 21742-6515
  Email: [log in to unmask] ~ AIM: JMBackus
  Vmail: 301.988.0614 ~ Fmail: 301.714.1854
  Web: www.TechGroupMD.com

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2