This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C1A34D.79831E90 Content-Type: text/plain; charset="iso-8859-1" Daniel, What is the default action when a RUN COMMAND fails on the AS/4000? If it is TERMINATE then try adding an 'ON ERROR CONTINUE' to the RUN statement. This will prevent termination of your procedure and the IF COMMANDOK statement will be executed. regards, Robert W.Mills -----Original Message----- From: Daniel Mielke [mailto:DMielke@aic.com] Sent: 22 January 2002 13:20 To: Powerhouse List (E-mail) Subject: FW: PH607 - AS/400 RUN COMMAND "..." ... IF COMMANDOK Ok, let's try this again... > -----Original Message----- > From: Daniel Mielke > Sent: Monday, January 21, 2002 3:37 PM > To: Powerhouse List (E-mail) > Subject: PH607 - AS/400 RUN COMMAND "..." ... IF COMMANDOK > > Hi Listers, > > When running a system command, a system error is issued. I have a "IF NOT > COMMANDOK" statement immediately following the "RUN COMMAND" statement, > that is not being processed. The screen just stops processing and goes to > the command line. What am I missing? Help! > > BUY. HOLD. AND PROSPER. > > Daniel Mielke > Senior User Analyst > AIC Limited > 1-888-710-4242 (4614) > dmielke@aicfunds.com > www.aicfunds.com > > = = = = = = = = = = = = = = = = = = = = = = = = = = = = Mailing list: powerh-l@lists.swau.edu Subscribe: "subscribe" in message body to powerh-l-request@lists.swau.edu Unsubscribe: "unsubscribe" in message body to powerh-l-request@lists.swau.edu http://lists.swau.edu/mailman/listinfo/powerh-l This list is closed, thus to post to the list you must be a subscriber. ------_=_NextPart_001_01C1A34D.79831E90 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">RE: PH607 - AS/400 RUN COMMAND "..." ... IF = COMMANDOK Daniel,
What is the default action when a RUN COMMAND fails = on the AS/4000? If it is TERMINATE then try adding an 'ON ERROR = CONTINUE' to the RUN statement. This will prevent termination of your = procedure and the IF COMMANDOK statement will be executed.
regards,
Robert W.Mills-----Original Message-----
From: Daniel Mielke [mailto:DMielke@aic.com]
Sent: 22 January 2002 13:20
To: Powerhouse List (E-mail)
Subject: FW: PH607 - AS/400 RUN COMMAND = "..." ... IF COMMANDOK
Ok, let's try this again...
> -----Original Message-----
> From: = Daniel Mielke
> Sent: Monday, January 21, 2002 3:37 PM
> To: Powerhouse List (E-mail)
> Subject: PH607 - = AS/400 RUN COMMAND "..." ... IF COMMANDOK
>
> Hi Listers,
>
> When running a system command, a system error = is issued. I have a "IF NOT
> COMMANDOK" statement immediately following = the "RUN COMMAND" statement,
> that is not being processed. The screen = just stops processing and goes to
> the command line. What am I = missing? Help!
>
> BUY. HOLD. AND PROSPER.
>
> Daniel Mielke
> Senior User Analyst
> AIC Limited
> 1-888-710-4242 (4614)
> dmielke@aicfunds.com
> www.aicfunds.com
>
>=3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D = =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D
------_=_NextPart_001_01C1A34D.79831E90--
Mailing list: powerh-l@lists.swau.edu
Subscribe: "subscribe" in message body to = powerh-l-request@lists.swau.edu
Unsubscribe: "unsubscribe" in message body = to powerh-l-request@lists.swau.edu
http://lists.swau.edu/mailman/listinfo/powerh-l
This list is closed, thus to post to the list you = must be a subscriber.