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



That's more than I have time to bite off right now.

My command does a DSPJRN to an outfile. The JOESD column contains the
entire table row. I use CPYF FMTOPT(*NOCHK) to parse that one column into
a clone of the original table. That makes it easy and generic. Switching
to SQL parsing would be an ordeal.

Thanks


date: Thu, 1 Sep 2022 12:11:29 +0000
from: Rob Berendt <rob@xxxxxxxxx>
subject: RE: CPYF blanks to zeros?

Had yesterday off...

Perhaps use a SQL instead of CPYF and wrap the blank checking with a
function?
Side benefit is this gives you flexibility across releases where the file
format may change. ALL IBM i Memo To Users contain a clause warning of
this.

https://www.ibm.com/docs/en/i/7.5?topic=considerations-output-fileoutfile-changes

Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1
Group Dekko
Dept 1600
Mail to: 7310 Innovation Blvd, Suite 104
Ft. Wayne, IN 46818
Ship to: 7310 Innovation Blvd, Dock 9C
Ft. Wayne, IN 46818
http://www.dekko.com



As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.