Something's not right with this, Dave. Here's what happens on my
HP3000 when executing your job statements (stdlist has been
sanitized):
JOB TEST108,MANAGER.SECURITY,PUB.
Priority = DS; HIPRI; Time = UNLIMITED seconds.
Job number = #j2720.
TUE, MAR 18, 1997, 11:41 AM.
HP3000 Release: C.50.00 User Version: C.50.00
MPE/iX HP31900 B.79.06 Copyright Hewlett-Packard 1987.
All rights reserved.
STREAMED BY xxxxxxxxxxxxxxxxxxxxxxxxxxx (#S8877) ON LDEV# 102
STREAM DATE: TUE, MAR 18, 1997, 11:41 AM
=====================================================================
Welcome! You are now signed on.
Last logon: 12:00 AM, on 0
:COMMENT STREAM FILE TEST108.JOB.SECURITY
:COMMENT STREAMED BY xxxxxxxxxxx
:COMMENT ON TUE, MAR 18, 1997, 11:41 AM
:SETVAR TYPE "T"
:PURGE BUTYPE
:FILE BUTYPE;REC=-1,,F,ASCII;DISC=1;SAVE
:ECHO !TYPE > *BUTYPE
The CI cannot write to output file. (CIERR 9096)
REMAINDER OF JOB FLUSHED.
CPU sec. = 4. elapsed min. = 1. TUE, MAR 18, 1997, 11:41 AM.
Dave Vorgang <[log in to unmask]> wrote:
>Hi all,
>
>I have a backup job stream in which a variable is set to determine the
>type of backup to perform. At the completion of the backup I stream
>another job which must also know the type of backup used. Here is a
>snipped of the two jobs:
>
>!JOB FULLBACK,OPERATOR.SYS;HIPRI;OUTCLASS=LJ3
>!SETVAR TYPE "T"
>!PURGE BUTYPE
>!FILE BUTYPE;REC=-1,,F,ASCII;DISC=1;SAVE
>!ECHO !TYPE>*BUTYPE
> :
> :
>!STREAM BACKUP2.DAVE.SIS
>!EOJ
>
>!JOB BACKUP2,OPERATOR.SYS;HIPRI;OUTCLASS=LJ3
>!INPUT TYPE < BUTYPE
>!ECHO !TYPE
> :
>!EOJ
>
>The problem is BUTYPE is blanked out by the time it gets to BACKUP2. I
>PRINT BUTYPE after I stream FULLBACK and it contains the letter T, like
>it should. I continue PRINTing BUTYPE continually for about 10 minutes
>and it still displays the letter T. But then, without any explanation,
>I'll do another print and it displays a blank. I check the modify date
>and it is the same as the original creation date.
>
>Any ideas on why this would happen?
_______
Bob
|