On 24-Mar-2012 09:46 , Vern Hamberg wrote:
I have tried a couple things in QShell - head -n 1 seems to work byUsing the touch utility with the CCSID option to pre-create with
redirecting to another file. Trouble is, it copies the data as CCSID
37, removes the ASCII CRLF and appends an EBCDIC LF.
the desired CCSID may assist with the former trouble?
<<SNIP>> wondered about sed (stream editor).To review some threads that already discussed that [and the above
redirection\CCSID, but probably none specific to using head]: