HP3000-L Archives

January 2000, Week 4

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:
David B Copeland <[log in to unmask]>
Reply To:
David B Copeland <[log in to unmask]>
Date:
Tue, 25 Jan 2000 16:02:51 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (30 lines)
PedroLG wrote in message <[log in to unmask]>...
>Has anyone seen a problem where commands in a job do not get processed.  I
have
>this example:
>
>!JOB TEST,MGR.DBUG
>!EDITOR
>T TEST
>EXIT
>ABORTTHISJOB
>!ECHO SHOULD NOT GET HERE
>!EOJ
>
>I think this job should exit out of Editor and abort on the ABORTTHISJOB
>command.  On our current system (mpe 5.5.7) the ABORTTHISJOB command
disappears
>and the job processes the ECHO and EOJ.
>Am I crazy or is this a problem?
>
>Pedro Gonzalez
>[log in to unmask]

My guess here is that EDITOR is re-FOPEN-ing the file $STDIN when it starts
up. When it processes the EXIT it FCLOSE's $STDIN. This will have the effect
of discarding any data up to the next line beginning with a !.

David B Copeland
JSI Data Systems Ltd
Nepean Ontario Canada.

ATOM RSS1 RSS2