× 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 13 May 2018 at 13:21, Booth Martin <booth@xxxxxxxxxxxx> wrote:
The text in the IFS file is readable by a PC text editor like Notepad. The
text does not break.

I tried both "25" and "0A". Neither made a change. What did appear is a
character that reminds me of the cut-out on the left side of a violin.

It helps me to remember is that stream files do not have line breaks,
regardless of the presentation that Notepad is offering our eyes.
There are no records, just a continuous stream of characters. When
Notepad comes across a certain special combination, it breaks the line
for display purposes. The point of this is that the program needs to
put the exact same special characters into the file, or Notepad won't
do the line break logic. That means the RPG program needs to do two
things exactly right:
1) Use the right CCSID / encoding
2) Use the proper sequence of characters

In the RPG program, what CCSID is the IFS file being written with?
When you WRKLNK, what CCSID does the file report as?
If you use WRKLNK, display the file contents and look at it in hex.
What are the hex values of the line endings?
--buck

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.