Lizette,

I think John's suggestion has merit.  On the first transfer (Unix to Windows) 
are you specifying ascii or binary?  Specifying ascii should correctly 
translate the Unix new line to the Windows CRLF.  Then your second transfer 
(Windows to z/OS) should work correctly.  This also explains why Notepad 
doesn't like the data.

Regards.

--
 
Donald Grinsell
State of Montana
406-444-2983
[email protected]

"Voice or no voice, the people can always be brought to the bidding of the 
leaders. That is easy. All you have to do is tell them they are being attacked, 
and denounce the pacifists for lack of patriotism and exposing the country to 
danger. It works the same in every country."
-- Hermann Goering

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of 
Lizette Koehler
Sent: Monday, 24 October 2011 15:41
To: [email protected]
Subject: Re: CRLF in Unix being translated on Mainframe to x'25'

>
>BTW, do local politics allow going directly to z/OS instead of therough 
>the W2008 box?
> 



As for politics.
It must be done this way, Unix, to Win2008, to Mainframe.

No options here.

I have tried several tests.  Either I only get one record up on the mainframe 
or the data is definately in bin format when it arrives.  I have tried BIN FB,  
BIN VB,  ASCII FB and ASCII VB.  So far the 44 records I have to test with are 
just not behavingin.

The odd thing is that NOTEPAD cannot read this file well.  It wraps it (yes 
tried the WRAP FORMAT in Notepad no luck).  So I can see the records circle 
around in the notepad window.

However, Notepad++ sees it as individual records.

Still plugging along.  I am trying the cmd prompt from my desktop to the 
mainframe.  However, it is possible that this file will be brought up via a 
batch job on the mainframe.  I am trying that now.


Lizette

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
[email protected] with the message: GET IBM-MAIN INFO Search the archives at 
http://bama.ua.edu/archives/ibm-main.html

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to