× 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
Why not just generate a spool file and use CPYSPLF and generate a pdf into the ifs from this spool file?

Alan Shore
E-mail : ASHORE@xxxxxxxx
Phone [O] : (631) 200-5019
Phone [C] : (631) 880-8640
‘If you're going through hell, keep going.’
Winston Churchill


-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxxxxxxxx] On Behalf Of Peter Dow
Sent: Monday, July 27, 2020 1:27 PM
To: midrange-l@xxxxxxxxxxxxxxxxxx
Subject: [EXTERNAL] Re: Query/400 vs QM Query vs Db2 Web Query and text wrapping

Hi John,

You are of course correct in that this should be done another way.
Python seems to be your "hammer" :) but for this customer I think a better solution is probably to use Acom to generate a form, which is what the intent seems to be with this query -- each input record prints
18 lines on the report, with vertical bars and hyphens to make a sort of form for users to fill in manually.

I've found that I can reproduce it by concatenating all the required fields and characters into one giant field which then uses the CW edit code in QM query to print it on multiple lines.  At least that works ok when the files are all local.  But when they are DDM files pointing to a remote system, one glaring issue is VARCHAR_FORMAT() does not work.

This is apparently an SQL bug, not something specific to QM Query.

--
*Peter Dow* /
Dow Software Services, Inc.
909 793-9050
petercdow@xxxxxxxxx <mailto:petercdow@xxxxxxxxx> pdow@xxxxxxxxxxxxxx <mailto:pdow@xxxxxxxxxxxxxx> /

On 7/24/2020 8:01 PM, John Yeung wrote:
On Fri, Jul 24, 2020 at 5:01 PM Peter Dow <petercdow@xxxxxxxxx> wrote:
What I would like is a way within QM Query to wrap a record at the
page width, but keep the additional lines within the same spool file.

Has anyone else run into this and found a solution?
I don't mean to sound glib, but my "solution" is to use other tooling.
In my case, it would be Python. And most of the users I've encountered
would rather receive Excel workbooks than printed reports.

John Y.

--
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 at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.

Help support midrange.com by shopping at amazon.com with our affiliate link: https://amazon.midrange.com

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.