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



I am using CPYTOSTMF to copy a file to the IFS
When I look in the file using WRKLNK there are no blank
records
When I open the file using Note Pad on the PC it has a blank
record at the end of the file.

I thought this might be a Note Pad issue, sent the file to
be processed (to a 3rd party company)
They rejected the file because it has a blank record at the
end

I asked if they could just ignore it or delete it
Nope their software cannot process blank records, I have to
fix my file.

Here is what the end of the file looks like with WRKLNK
5501750007109397588696XXXXXXNE 7,730.34 01

5501750007109392541782XXXXXXN 24,796.35 01
5501750007109391907528XXXXXXANY 2,042.31 01
5501750007109392824989XXXXXXNE 10,353.27 01

5501750007109396666959XXXXXXNICA 6,555.63 01

************End of Data********************


Using WRKLNK Display Hex I do see a 0D0A at the end of each
record.
I do not have a 0D0A in my from file on the CPYTOSTMF
So CPYTOSTMF must add it, Would the 0D0A on the last record
cause the blank line on PC applications?
Is there a way to remove it only from the last record

Of course I get this problem 6:30PM the night before I fly
out to Common

John




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.