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



On 3/3/2016 2:48 PM, Alan Shore wrote:
I used a small CLLE program - tested in debug mode, interactively - looked at the file directly after the CPYFRMSTMF and could see the Hex(25), the sql statement runs and the HEX(25)'s are replaced with HEXS(40)
Beautiful
Changed the program that needs to be changed and started the process - in batch
Does not work

Smells like a library list issue. Is the batch run calling the exact
same CLP?

In debug - when the file that gets created from the CPYFRMSTMF is DBU'ed - the one record containing the HEX(25) has already been split into 6 individual records BEFORE the SQL statement can be run

Yes; x'25' is carriage return, the record separator.
Some ASCII files use '0d25', some just use x'25' It depends on whether
the file came from Microsoft, Linux, mainframe, etc.


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.