×
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.
James-
Do you have System I Navaigator? It can generate the SQL script for you.
Otherwise:
JOIN ARFBEXLNRS ON U01095 = DIGITS(ARFBEX)||DIGITS(ARFBLN)||DIGITS(ARFBRS)
Should work, but you might need to use CHAR() instead if you don't want leading zeros.
-Tom Stieger
IT Manager
California Fine Wire
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of James Lampert
Sent: Wednesday, October 03, 2012 12:47 PM
To: Midrange Systems Technical Discussion
Subject: SQL equivalent for DDS?
In an experimental study for my research project on substituting a join for a PF:
I have the following in a join logical's DDS:
. . .
JFLD(U01095 ARFBEXLNRS) . . .
ARFBEXLNRS CONCAT(ARFBEX ARFBLN ARFBRS)
. . .
where U01095 is a zoned decimal field in our "stub" PF, and ARFBEX, ARFBLN, and ARFBRS are zoned decimal fields in the "native" file, whose values, concatenated together, match up with U01095.
How would I do the equivalent in an SQL join view?
--
JHHL
--
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.