Once the command intrinsic executes I will check for the existence of the=
CM
KSAM file. If it exists, then I know the intrinsic did work successfully.=
If
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,
Brian.
On Mon, 25 Jan 2010 08:29:01 -0700, Keven Miller
<kevenm@REELTAPETRANSFER.COM> wrote:
>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
>process XEQERR.
>
>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
>>BUILD KSAMCMF1/OLDKSAM1.PUB;REC=3D+8192,,F,BINARY;&
>>TEMP;DISC=3D000050001;CODE=3D+8133;LABELS=3D206;FIRSTREC=3D1;&
>>KEY=3DB,003,001,,RDUP;KEY=3DB,004,001,,DUP;KEY=3DB,005,002,,RDUP;&
>>KEY=3DB,007,001,,DUP;KEYFILE=3DKSAMCMK1
>INVALID RESULTANT BLOCK SIZE (FSERR 11)
>>e
>Fox 12:showjcw
>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
>HPCIERRMSG =3D
>HPERRDUMP =3D 0
>HPERRSTOLIST =3D TRUE
>HPFSERR =3D 0
>Fox 12:
>
>It doesn't.
>
>Keven Miller
>
>* 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 *
|