Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

blankline between 2 records after copying from UNIX to mainf

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
esmayeel_s

New User


Joined: 02 Apr 2008
Posts: 5
Location: pune

PostPosted: Tue May 03, 2011 6:07 pm    Post subject: blankline between 2 records after copying from UNIX to mainf
Reply with quote

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
View user's profile Send private message

superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Tue May 03, 2011 6:10 pm    Post subject: Reply to: blankline between 2 records after copying from UNI
Reply with quote

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
View user's profile Send private message
esmayeel_s

New User


Joined: 02 Apr 2008
Posts: 5
Location: pune

PostPosted: Tue May 03, 2011 6:14 pm    Post subject:
Reply with quote

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
View user's profile Send private message
esmayeel_s

New User


Joined: 02 Apr 2008
Posts: 5
Location: pune

PostPosted: Tue May 03, 2011 6:57 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7931
Location: Bellevue, IA

PostPosted: Tue May 03, 2011 7:11 pm    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts JES2 JEC: Use UNIX Pipes to Pass Data... Virendra Shambharkar JCL & VSAM 21 Tue Dec 20, 2016 6:55 pm
No new posts Removing Duplicates based on certain ... chandracdac DFSORT/ICETOOL 8 Fri Dec 09, 2016 4:40 am
No new posts Limit duplicate records in the SORT pshongal SYNCSORT 6 Mon Nov 21, 2016 12:54 pm
No new posts How to split the records using the am... vnktrrd DFSORT/ICETOOL 24 Fri Oct 28, 2016 7:33 pm
No new posts Sort records based on numeric field. Alks SYNCSORT 2 Wed Oct 19, 2016 10:14 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us