Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 4650
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: 8195
Location: East Dubuque, Illinois, USA

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 Merging 2 records at multiple rows wi... Bijesh DFSORT/ICETOOL 1 Wed Dec 06, 2017 1:50 am
No new posts Increment number for every group of r... srajendran2 DFSORT/ICETOOL 7 Thu Nov 09, 2017 10:31 pm
No new posts Matching and unmatched records!! Vignesh Sid SYNCSORT 3 Thu Nov 09, 2017 11:22 am
No new posts Formatting multiple records to a sing... Vignesh Sid SYNCSORT 3 Tue Nov 07, 2017 12:22 pm
No new posts Format Last Record differently from r... Learncoholic DFSORT/ICETOOL 5 Tue Oct 24, 2017 12:01 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us