View previous topic :: View next topic
|
Author |
Message |
dwijadas
New User
Joined: 20 Sep 2005 Posts: 17
|
|
|
|
Hi,
I am converting as below.
//ICONV EXEC PGM=EDCICONV,
// PARM=('FROMCODE(IBM1388),TOCODE(IBM1381)')
The output data set supposed to be ASCII. All character seems to be good. The newline is missing. So in ASCII system the file becomes one single large record.
Any idea ? |
|
Back to top |
|
|
Joerg.Findeisen
Senior Member
Joined: 15 Aug 2015 Posts: 1335 Location: Bamberg, Germany
|
|
|
|
In z/OS there is no CRLF or LF, hence additional data during conversion is not added. |
|
Back to top |
|
|
Joerg.Findeisen
Senior Member
Joined: 15 Aug 2015 Posts: 1335 Location: Bamberg, Germany
|
|
Back to top |
|
|
dwijadas
New User
Joined: 20 Sep 2005 Posts: 17
|
|
|
|
Hi,
Thanks for your reply. In my shop, we cant use REXX. I managed to achieve this by putting X'15' as the end of line for each record using SORT OVERLAY.
Post that file was passed to EDCICONV for codepage conversion.
Tool converted this X'15' to X'0A' - ASCII LF and works just fine after I downloaded it to PC.
Thank you once again for your reply. |
|
Back to top |
|
|
hankoerlemans
New User
Joined: 25 Jan 2018 Posts: 62 Location: Australia
|
|
|
|
Just cause I'm curious why would Rexx be excluded as a consideration ? |
|
Back to top |
|
|
dwijadas
New User
Joined: 20 Sep 2005 Posts: 17
|
|
|
|
Just because some people think REXX is inefficient and complex. |
|
Back to top |
|
|
sergeyken
Senior Member
Joined: 29 Apr 2008 Posts: 2141 Location: USA
|
|
|
|
hankoerlemans wrote: |
Just cause I'm curious why would Rexx be excluded as a consideration ? |
Using REXX only to append a single constant byte to each record would be the same as using a microscope to hammer nails.
Of course, using REXX might be very useful to impress the managers who have no idea what’s happening. |
|
Back to top |
|
|
|