Jerry Kern wrote on 02/08/2007 10:46:07:
The total string length I wrote is less than 2000 bytes. 
Do you mean the work field is less than 2000 bytes or the expected 
contents are less than 2000 bytes? What does your write() call look like? 
Is it possible that you have a long character field and are writing a 
bunch of trailing blanks unintentionally?
<snip>
And when viewing 
the file via wrklnk it appears as one long string that 'wraps' and 
appears 
as three lines on the display. The CCSID is 819. 
Within the string there are multiple x'0D' where the data segments end 
within the string. I thought those would serve to enable displaying each 
segment as a separate line in the wrklnk view.
I have files of a similar nature (text data in the IFS with ccsid 819 
and 
multiple x'0D') from a different application and these appear to not 
exhibit this behavior. Each segment terminated with an x'0D' displays as 
one line on the display in wrklnk and I can use F20 to window to the 
right 
to see the data within each segment.
Did you open the file in an editor to ensure the x'0D' is actually making 
it to the file intact?  That way you can at least rule out unexpected data 
or unexpected translations (from one CCSID to another for example).
HTH,
Adam
Attention:
The information contained in this message and or attachments is 
intended only for the person or entity to which it is addressed and may contain 
confidential and/or privileged material. Any review, retransmission, 
dissemination or other use of, or taking of any action in reliance upon, this 
information by persons or entities other than the intended recipient is 
prohibited. If you received this message in error, please contact the sender and 
delete the material from any system and destroy any copies. Thank you for your 
time and consideration.
Attention: 
Le contenu de ce message et(ou) les fichiers ci-joints s?adressent 
exclusivement à la personne ou -entité à laquelle ils sont destinés. Ils peuvent 
contenir de l?information confidentielle, protégée et(ou) classifiée. Il est 
strictement interdit à toute personne ou entité autre que le(la) destinataire 
prévu(e) de ce message d?examiner, de réviser, de retransmettre ou de diffuser 
cette information, de prendre une quelconque action en fonction ou sur la base 
de celle-ci, ou d?en faire tout autre usage. Si vous avez reçu ce message par 
erreur, veuillez communiquer avec l?expéditeur(trice), supprimer ce message et 
les fichiers ci-inclus de tout système, et en détruire toutes copies, qu?elles 
soient électroniques ou imprimées. Nous vous remercions de votre entière 
collaboration. 
As an Amazon Associate we earn from qualifying purchases.