On Mon, 10 Dec 2018 21:25:34 +0000, Jesse 1 Robinson wrote:

>Text consisting of paragraphs with no indentions or blank lines seems like a 
>pretty odd notion of 'paragraphs'. ... 
>
It's MS Word's convention.  Pressing ENTER inserts a ΒΆ.

On Mon, 10 Dec 2018 14:32:11 -0700, Sri h Kolusu wrote:
>>
>If the data that Charles is processing contains paragraphs without
>intervening blank lines, all the paragraphs will be flowed together,  not
>likely what he wants. Also, he mentioned that some of the lines
>are several thousand bytes long.
>
>DFSORT has resize operator which can split long records into short records
>and merge the short records into long records.  So as you mentioned Text
>flow needs a blank to work with, but DFSORT doesn't need one.  Here is a
>sample. The only requirement is that the input dataset need to have
>RECFM=FB

I wonder whether Charles's records are of equal length?  Or whether he cah
pad them?

I still recommend:
    fold -sw72 file.text

z/OS has it.  Linux has it.  MacOS has it.  I'd expect Windows 10 to have it.

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to