Once the command intrinsic executes I will check for the existence of the=
KSAM file. If it exists, then I know the intrinsic did work successfully.=
the file isn't there then I know it failed.
That will solve the problem. Not the optimum solution but a solution.
Thank you to all who responded,
On Mon, 25 Jan 2010 08:29:01 -0700, Keven Miller
>As Roy suggested, try RUN NONEXIST.
>My take on it is its working correctly.
>The COMMAND intrinsic had no trouble running KSAMUTIL.
>Now if KSAMUTIL QUIT or ABORTED with the internal error,
>then I would expect COMMAND to return the some error that
>the program didn't exit properly.
>The KSAMUTIL error was handled by the program,
>it then accepted the "EXIT" command, and terminated properly.
>So if you want any error from KSAMUTIL, you WILL need to
>Or possibly check JCW incase KSAMUTIL sets that when it
>has an error.
>Fox 12 ksamutil
>HP32208A.07.04 MON, JAN 25, 2010, 8:27 AM KSAMUTIL VERSION:A.07.00
>INVALID RESULTANT BLOCK SIZE (FSERR 11)
>CIERROR =3D 0
>JCW =3D 0
>RCRTMODEL =3D 7009
>RPCVERSION =3D 1
>RCRTWIDTH =3D 80
>Fox 12:showvar @err@
>CIERROR =3D 0
>HPCIERR =3D -8116
>HPCIERRCOL =3D 9
>HPERRDUMP =3D 0
>HPERRSTOLIST =3D TRUE
>HPFSERR =3D 0
>* To join/leave the list, search archives, change list settings, *
>* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *