I actually missed the real cause here. The failed variable resolution produces a ciwarn, which wont kill the job.
The real problem was adding the comment text to the start of the line pushed 'buf' of 'maxtapebuf' off the end of the line, and it was the line :-
Buf
With no ! or : in front that caused the real cierror to flush the job.....a lesson learned, but not the one I first thought.
Regards,
John Pitman
From: John Bawden [mailto:[log in to unmask]]
Sent: Thursday, 3 September 2009 9:12 AM
To: John Pitman; [log in to unmask]
Subject: Re: [HP3000-L] variables in jcl comments !!!!!
Hi John,
I've also tripped over this where a comment (or *) still tries to evaluate the !variable. I guess there are just oddities in MPE that defy logic. One would think that a comment atcually means ignore everthhing after the command on this line. Of course I expected LISTFILE to work like LISTF. We've solved the problem with the comment and the variable by replacing the ! with | (vertical bar) whenever we comment a line with the ! in it. You could always delete the line but I prefer commenting for maintainability.
John Bawden
Homestead3000 Consulting
MPE Forever
________________________________
From: John Pitman <[log in to unmask]>
To: [log in to unmask]
Sent: Wednesday, September 2, 2009 5:56:01 PM
Subject: [HP3000-L] variables in jcl comments !!!!!
After all these years and 8 months, we get caught by this for the first time!!!
:COMMENT ===!STORE !!INSTORE9.NEW.STOCK2K;*DDS777;FILES=100000;directory;maxtape
COMMENT ===!STORE !INSTORE9.NEW.STOCK2K;*DDS777;FILES=100000;directory;maxtape
^
Variable name not found in variable table. (CIWARN 8101)
buf
buf
Missing colon before command name. (CIERR 981)
REMAINDER OF JOB FLUSHED.
CPU sec. = 810. elapsed min. = 28. THU, SEP 3, 2009, 2:28 AM.
Regards,
John Pitman
________________________________
CAUTION: This message may contain privileged and confidential information intended only for the use of the addressee named above. If you are not the intended recipient of this message you are hereby notified that any use, dissemination, distribution or reproduction of this message is prohibited. If you have received this message in error please notify RYCO Hydraulics Pty. Ltd. immediately. Any views expressed in this message are those of the individual sender and may not necessarily reflect the views of RYCO Hydraulics Pty. Ltd.
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
________________________________
CAUTION: This message may contain privileged and confidential information intended only for the use of the addressee named above. If you are not the intended recipient of this message you are hereby notified that any use, dissemination, distribution or reproduction of this message is prohibited. If you have received this message in error please notify RYCO Hydraulics Pty. Ltd. immediately. Any views expressed in this message are those of the individual sender and may not necessarily reflect the views of RYCO Hydraulics Pty. Ltd.
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|