Hi Jim

Very eeeeenterrrresting! I hadn't tried STRSQL, just did, and with the normal controls, I see that it includes the thousands separator - and there does not seem to be a way to change it in the session attributes

I did not remember this. Wow!

I might proffer the idea of using RSS - at least what I saw today, it does not put in the commas. And we can save the results to various formats, and in this case, at least, even when saving to an XLSX, no commas.

*Regards*

*Vern Hamberg*

<cid:part4.Xp1XSpXh.8c62HC6v@centurylink.net>

On 2/12/2025 4:23 PM, Jim Franz wrote:
green screen STRSQL
there are some edit controls in the session attributes

Statement processing . . . . . *RUN *RUN, *VLD, *SYN
SELECT output . . . . . . . . 1 1=Display, 2=Printer
3=File
Commitment control . . . . . . *NONE *NONE, *CHG, *CS, *ALL, *RR
*NC, *UR, *RS
Date format . . . . . . . . . *MDY *JOB, *USA, *ISO, *EUR, *JIS
*MDY, *DMY, *YMD, *JUL
Date separator . . . . . . . . '/' *JOB, '/', '.', ',', '-'
' ', *BLANK
Time format . . . . . . . . . *HMS *HMS, *USA, *ISO
*EUR, *JIS
Time separator . . . . . . . . ':' *JOB, ':', '.', ','
' ', *BLANK
Data refresh . . . . . . . . . *ALWAYS *ALWAYS, *FORWARD
Allow copy data . . . . . . . *YES *YES, *OPTIMIZE, *NO
Naming convention . . . . . . *SYS *SYS, *SQL

Jim

On Wed, Feb 12, 2025 at 5:16 PM Rob Berendt<robertowenberendt@xxxxxxxxx>
wrote:

Vern,
It's just best to assume that perhaps you are using a different tool than
Jim does, or that his numerics are defined slightly different (edit code
perhaps) or some such thing.
I'd go with Charles suggestion.

On Wed, Feb 12, 2025 at 4:46 PM Vern Hamberg via MIDRANGE-L <
midrange-l@xxxxxxxxxxxxxxxxxx> wrote:

Hi Jim

I have to ask what tool you are using to run the SELECT - I don't
usually see commas when the columns are numeric. Here're the results for
1 row of QIWS/QCUSTCDT -

CUSNUM LSTNAM INIT STREET CITY STATE ZIPCOD CDTLMT CHGCOD
BALDUE CDTDUE
938485 Johnson J A 3 Alpine Way Helen GA 30545
9999 2 3987.5 33.5


CUSNUM, ZIPCOD, CDTLMT, and BALDUE are all Numeric

*Regards*

*Vern Hamberg*

<cid:part4.i2taBQ1w.k6cbi0o0@centurylink.net>

On 2/12/2025 3:05 PM, Charles Wilt wrote:
DIGITS(ORDER)

HTH,
Charles

On Wed, Feb 12, 2025 at 1:46 PM Jim Franz<franz9000@gmailcom> wrote:

I'm sure its a simple thing, but i need the Order column numbers to
not
have commas (user requests like 2450245). DDS defined tables, packed
7,0
Google full of hacks that db2 doesn't do.

CUST TRAN_CODE ORDER Ref
ESW01 25 2,450,245 Widgets
ESW01 25 2,453,785 Bolts

when i use varchar_format it pads spaces to the right of column and
trim
seems to be ignored
tia
Jim Franz
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a messageemail:MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:https://lists.midrange.com/mailman/listinfo/midrange-l
oremail:MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
athttps://archive.midrange.com/midrange-l.

Pleasecontactsupport@xxxxxxxxxxxxxxxxxxxx for any subscription
related
questions.


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email:MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:https://lists.midrange.com/mailman/listinfo/midrange-l
or email:MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
athttps://archive.midrange.com/midrange-l.

Please contactsupport@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email:MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:https://lists.midrange.com/mailman/listinfo/midrange-l
or email:MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
athttps://archive.midrange.com/midrange-l.

Please contactsupport@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.



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