HP3000-L Archives

February 1995, Week 1

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:
Rich Trapp <[log in to unmask]>
Reply To:
Rich Trapp <[log in to unmask]>
Date:
Mon, 6 Feb 1995 17:38:29 MST
Content-Type:
text/plain
Parts/Attachments:
text/plain (49 lines)
David Martin asks:
 
[snip]
 
>Now what is the trick to getting the following to work...
>
> Job code...
>
> !Job TEST
> !Run Rename utility to produce system var MMDD = 0127  (for example)
> !comment
> !Run DISCMGR...
> MPETODOS Source to Destination!MMDD;replace;move
> :
> :
> EXIT
> !EOJ
>
> The rename utility creates a system var MMDD why doesn't the value of MMDD get
> replaced into the MPETODOS line? Is there some trick I'm missing? I thought
> that was possible - I know it is with StreamX unfortunately when I stream the
> job I do not know the value of MMDD until AFTER the job runs the rename
> utility. StreamX needs the variable to be defined prior to streaming the job.
>
> David
 
 
David,
   Only the CI is able to parse the command line and do this kind of thing.
You're trying to get the program DISCMGR to interpret the !MMDD for you
and only the CI will substitute the value of contained in MMDD instead of
the literal "!MMDD".  If you were to pass this data via the INFO= on the RUN,
then the CI would "see it" and do the substitution.
 
   If you're passing this information to STREAM, it's have the same problem.
One way to do this is to use the ECHO job's lines to a file and then STREAM
the file.  This way, the CI see the "!MMDD" in the ECHO command and does the
substitution.
 
Rich
--
______________________________________________________________________
________ Dynamic Information Systems Corp.   |
\!DISC / Rich Trapp                          | My opinions are my own.
 \    /  OMNIDEX Product Manager - IMAGE/SQL | With any luck they're
  \  /   Phone : 303 444-4000                | correct ;-)
   \/    E-mail: [log in to unmask]                |
----------------------------------------------------------------------

ATOM RSS1 RSS2