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.