> 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 !MMDD is in a line of DATA read by the program DISCMGR.  The HPCI
never has a chance to read it and make changes (do you want every '!' fed
as data to your program to be changed by MPE?).
 
So, you need to change things around so that the CI will read and replace.
 
1.  Use the ECHO command to send the lines to a disc file.  Then redirect
STDIN to that disc file.
 
2.  Use MPEX and some nifty stuff they have for feeding data to programs.
    I'd give an example, but can't find the ONE job that does it on our
system.
 
--Steve
 
 
+----------------------------------------------------+
| Steve Butler          Voice:  206-464-2998         |
| The Seattle Times       Fax:  206-464-2905         |
| PO Box 70          Internet:  [log in to unmask] |
| Seattle, WA 98111    Packet:  Not currently active |
+----------------------------------------------------+
All standard and non-standard disclaimers apply.
All other sources are annonymous.