× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



hi,
can't you do the same with runsqlstm cmd ?
one advantage is that you can enter more than one sql statement.

----- Original Message ----- 
From: "Jeff Crosby" <jlcrosby@xxxxxxxxxxxxxxxx>
To: "Midrange Systems Technical Discussion" <midrange-l@xxxxxxxxxxxx>
Sent: Saturday, June 18, 2005 3:19 PM
Subject: RE: SQL delete not in related table


> > While waiting on the book, go to InfoCenter
>
> Thanks.  I already have (had) the manuals downloaded to my PC.  Some of
the
> other links are new, though.
>
> Late Friday afternoon, I had a situation where I needed to pass a parm
into
> the RUNSQLSTM member, which you can't do.  I found, on the iseriesnetwork
> site, an SQL command, CL, and RPG program designed to do this.  From 1998
I
> believe.  Renamed it ADHOCSQL so I would remember it wasn't from IBM.  Now
I
> can do things like:
>
> CHGVAR &SQLSTR 'DELETE FROM somefile WHERE somefield = somevalue'
> ADHOCSQL CMD(&SQLSTR)
>
> and it works like a champ.
>
> --
> Jeff Crosby
> jlcrosby@xxxxxxxxxxxxxxxx
> Opinions expressed are mine only and not necessarily the views of my
> company.  Unless I say so.
>
>
>
> -- 
> This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
> To post a message email: MIDRANGE-L@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo/midrange-l
> or email: MIDRANGE-L-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/midrange-l.
>
>


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.