Subject: | |
From: | |
Reply To: | |
Date: | Thu, 11 Nov 1999 10:46:00 -0800 |
Content-Type: | TEXT/PLAIN |
Parts/Attachments: |
|
|
Try something as:
::PROMPT STRING INFO = &
"Enter a string: "
!JOB TESTJOBS,MANAGER.SYS;OUTCLASS=NOPRINT;pri=cs
!COMMENT
!setvar y "{info}"
!showvar y
!echo INFO = !y
!TELL MANAGER.SYS The test job is done
!eoj
The results are:
JOB TESTJOBS,MANAGER.SYS,SUPUTIL.
Priority = CS; Inpri = 8; Time = UNLIMITED seconds.
Job number = #j563.
THU, NOV 11, 1999, 10:36 AM.
HP3000 Release: C.55.00 User Version: C.55.00
MPE/iX HP31900 C.05.08 Copyright Hewlett-Packard 1987.
:SETVAR y "abcd "
:SHOWVAR y
Y = abcd/efghij
:ECHO INFO = !y
INFO = abcd/efghij
:TELL MANAGER.SYS The test job is done
:EOJ
CPU sec. = 1. elapsed min. = 1. THU, NOV 11, 1999, 10:36 AM.
____________________Reply Separator____________________
Subject: Re: Have a STREAMX question...
Author: [log in to unmask]
Date: 11/11/99 9:34 AM
Streamx probably thinks everything after the slash is a password so it
doesn't display it.
maybe if you put it in a comment line ::comment {user_string}. Since I
don't have access to a machine right now I can't test it.
Larry Barnes
Jay Willis wrote:
> We use Vesoft's Streamx exclusively here, and I was wondering if anyone
> here would know how to get around a little problem I am having with it.
> The job prompts the user for a string:
>
> ::PROMPT STRING INFO = &
> "Enter a string: "
>
> The string may contain a slash ("/"). I want to display within the
> stdlist what string the user entered:
>
> !comment info.....{INFO}
>
> But if the user has entered a string which contains a slash, the part of
> the string which follows the slash does not display in the comment line.
> Is there some trick to getting the whole string to display, regardless
> of what the user entered?
>
> Thanks a bunch,
> Jay
|
|
|