Running Procedure in a UNIX script...

orjazmik

New Member
I am trying to run a progress procedure in a UNIX script, but I seem to be having a bit of an issue. The line in the script looks something like this:

$DLC/bin/mpro -pf <pf file> -p <procedurename>


For some reason, the script throws me into the procedure editor when the procedure is finished running. This is not what I want to happen. I want to be put right back at the command prompt when the procedure is finished. Is this a problem with my script, my procedure, or both? Thanks a bunch.

- Marshall
 
This will not happen on run-time installations such as Client/Networking, but to ensure that the sessions ends regardless of the installation type, you just need to add the QUIT statement into your procedure at the finish point. e.g. just:

QUIT.

on its own. This will ensure that the session ends.
 
Back
Top