× 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.



Ken,

I haven't done any embedded SQL yet, but this confuses me. I.e., the part about the variables being defined in the D-specs in fixed format, but after using WDSc to convert to free-format they are not. Now, converting fixed to free I've done many times, and never lost a D-spec yet. The LIKE(field) has to be defined somewhere in the database or program, as you know. I cannot think of any reason why it would just "go away". Maybe some before and after snips of the pertinent code would help my aged mind.

Thanks.


        * Jerry C. Adams
*iSeries/i5 Programmer/Analyst
B&W Wholesale Distributors, Inc.* *
voice
        615.893.8633x152
fax
        615.995.1201
email
        jerry@xxxxxxxxxxxxxxx <mailto:jerry@xxxxxxxxxxxxxxx>



Danforth, Ken wrote:

I have a program with embedded SQL that uses substitution variables.  These 
variables are defined in the D specs with the LIKE keyword.  This program 
compiles fine when using fixed-format RPG C-specs.  However, when I convert the 
program to free-format RPG (using Websphere), the program will not compile 
because the substitution variables are undefined.  Any ideas?



Ken Danforth

Amscan, Inc.

80 Grasslands Rd

Elmsford, NY  10523

Voice:  914.784.4161

Fax:  914.784.8819






As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.