View previous topic :: View next topic
|
Author |
Message |
esmayeel_s
New User
Joined: 02 Apr 2008 Posts: 5 Location: pune
|
|
|
|
Hi All,
I am exicuting a script to pull the UNIX to Mainframe GDG file.
I am getting a blank line after each record.
What could be the issue while copying the Unix file to Mainframe.
Thanks
Husen |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
What does the script do?
Does this process handle the ASCII to EBCDIC conversion issues?
If so, how does it manage the definition of end-of-line (EOL) and end-of-file (EOF) between the two systems? |
|
Back to top |
|
|
esmayeel_s
New User
Joined: 02 Apr 2008 Posts: 5 Location: pune
|
|
|
|
Hi Kevin,
The script converts the ASCII to EBCDIC and then copies the UNIX file to Mainframe GDG.
This script is working for one of the interface in production and it does not handle the EOL and EOF, but for the new interface it is giving the issue.
Please suggest.
Thanks
Husen. |
|
Back to top |
|
|
esmayeel_s
New User
Joined: 02 Apr 2008 Posts: 5 Location: pune
|
|
|
|
Hi Kevin,
i am using the below command to convert ASCII to EBCDIC codeset.
iconv -t IBM-1047 -f ISO8859-1 FILE1 > file2
Please suggest.
Thanks
Husen |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Quote: |
but for the new interface it is giving the issue. |
So the obvious thing to do is look at what is different, right? Why are you not doing this yourself? Since we don't have access to your site, nor the script(s), nor the source data, nor the output file -- just how much can we help without detailed data? |
|
Back to top |
|
|
|