HP9000-L Archives

November 2011

HP9000-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:
Keven Miller <[log in to unmask]>
Reply To:
Keven Miller <[log in to unmask]>
Date:
Fri, 11 Nov 2011 07:43:32 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (31 lines)
----- Original Message -----
From: "Landin, Mark" <[log in to unmask]>
To: <[log in to unmask]>
Sent: Friday, November 11, 2011 06:37 AM
Subject: Re: [HP9000-L] Aborting an MF Cobol/2 program.


Don't know directly, but is there a function that can set an OS variable
which you could then interrogate in your script?


Only MPE has OS "global" variables that can be changed by child processes.
As far as I know.

It's likely something unique to MF/Cobol on how to do it.
Similar to getting runtime parameters.

You might try setting a value in RETURN-CODE
   MOVE 2 TO RETURN-CODE.
or
  EXIT PROGRAM GIVING 2
  EXIT PROGRAM RETURNING 2
  GOBACK [GIVING|RETURNING] 2
  STOP RUN [GIVING|RETURNING] 2

Also look up these options in the manuals.

Sorry - I'm not an expert, just somewhat experienced in MF and reading their
manuals.
Keven Miller

ATOM RSS1 RSS2