View previous topic :: View next topic
|
Author |
Message |
biswaranjan
New User
Joined: 06 May 2010 Posts: 17 Location: INDIA
|
|
|
|
Hi All,
There are some new line characters in the file on UNIX Box. While trying to pull the data to MF by using a JCL the New line characters are dropped, which I want to avaoid.
html location
Useid
pwd
LOCSITE lrecl=0 blksize=4096 recfm=u
LOCSITE cyl primary=100 secondary=20
binary
get VAADC061011.TXT 'NI00.LTA00.UFMT.VA2.TWE0211.UNIX1'
quit
Is there any command/way I can use to retain these characters?
Data on UNIX and MF:
==============
Data on UNIX:
-----------------
000001 William and Mary Traffic Citation Appeal....
000002 BEGIN...DROP2.65115
MF AFTRE ftp:
----------------
000001 William and Mary Traffic Citation Appeal....BEGIN...DROP2.65115 |
|
Back to top |
|
|
Craq Giegerich
Senior Member
Joined: 19 May 2007 Posts: 1512 Location: Virginia, USA
|
|
|
|
What does this have to do with COBOL? |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
TS did not bother to search the forum,
and does not realize there are different forums within this website,
even though he has 15 posts.
do a search on Robert_Sample's posts in the JCL forum.
either he has provided links to FTP documentation or has spelled out the syntax for what you want. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
The mode specified is BINARY, so the data will not be translated in any way. Both files should be identical in every way. We'd need some better evidence to show that they're not the same after the transfer. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
If you are doing a binary FTP, one of these is completely wrong since the native code page on Unix is ASCII and on the mainframe it is EBCDIC:
Quote: |
Data on UNIX:
-----------------
000001 William and Mary Traffic Citation Appeal....
000002 BEGIN...DROP2.65115
MF AFTRE ftp:
----------------
000001 William and Mary Traffic Citation Appeal....BEGIN...DROP2.65115
|
What you posted looks like a TEXT, not binary, transfer with the SBSENDEOL flag set wrong. |
|
Back to top |
|
|
|