gnucobol-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[open-cobol-list] truncating line feed character.


From: john Culleton
Subject: [open-cobol-list] truncating line feed character.
Date: Tue, 18 Mar 2014 15:32:56 -0400

Given a field that contains a variable number of
characters and a line feed character how do I
replace the line feed character with a space?

I can do:

INSPECT FIELDNAME REPLACING ALL "XXX" WITH SPACE 

but what do I put in XXX? I know that the line
feed is x0a in binary.

Linux system of course. 

-- 
John Culleton
Wexford Press
Free list of books for self-publishers:
http://wexfordpress.net/shortlist.html
PDF e-book: "Create Book Covers with Scribus"
available at
http://www.booklocker.com/books/4055.html


reply via email to

[Prev in Thread] Current Thread [Next in Thread]