Subject: | |
From: | |
Reply To: | |
Date: | Thu, 19 Feb 1998 09:54:30 -0800 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Here is what I am trying to do:
I have one job stream that I have created with Visimage. I want to give my
user the option to choose one of three different selections. Two are hard
coded and the other will be up to the end user. So I created the following
command file
input whattyp;prompt="Commercial Only Y/N? "
if ups(whattyp) = "Y" then
setvar printit ">101,102,103"
else
input whattyp;prompt="Medicare Only Y/N? "
if ups(whattyp) = "Y" then
setvar printit "104"
else
input whattyp;prompt="Type your entries here: "
setvar printit whattyp
endif
endif
run askplus.pubtcp.asklocal;info="-apde -xeq:rodjob,quiet";xl=&
"xl.pubtcp.asklocal"
This all works great using my jobstream as and XEQ with askplus, but I would
rather stream the RODJOB jobstream.
So currently the select statement in my jobstream looks like this:
16 (BASEA.CUSTOMERS.CUST-NO = !whattyp)
ASKPLUS CAN read HP Variables but now, the job is a different session and we
all know that that's not going to fly. So by ECHOing each line to a new
file and streaming the new file the select statement would be correct, i.e.;
16 (BASEA.CUSTOMERS.CUST-NO = 101,102,103)
Clear as mud?
-----------------------------------------
Paula Estey
Technical Specialist
Vital Soft, Inc.
[log in to unmask]
-----------------------------------------
www.vital-soft.com
|
|
|