?
Solved

Connect direct file corruption

Posted on 2010-09-02
3
Medium Priority
?
2,243 Views
Last Modified: 2013-12-09
I am sending a file using connect direct from a windows platform to a UINIX platform. I firstly found that we would get a small box in place of the carridge return which would throw out the fixed length file we then added an additional sysopts to the script and this has improved the file but i am still getting a few boxes t random points in the file.

Is anyone a connect direct expert and able to help?

here is mock copy of the script


SUBMIT MAXDELAY=UNLIMITED
SENDX PROCESS
SNODE=DEST
STEP1 COPY  
FROM (PNODE FILE= C:\MyFile.txt)
SYSOPTS="DATATYPE(BINARY) XLATE(NO)"
TO (SNODE FILE= /mailbox/test/myfile.txt)
SYSOPTS="DATATYPE=BINARY XLATE=NO"
PEND;  
QUIT;
0
Comment
Question by:LBGUC04
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 26

Expert Comment

by:arober11
ID: 33598834
Once transfered you could run the file through: dos2unix else you might want to try changing the BINARY for ASCII on the SYSOPTS line, assuming "Connect direct" or whatever protocol your using is similar to FTP.

0
 
LVL 26

Expert Comment

by:arober11
ID: 33599099
Try:

SYSOPTS="DATATYPE=TEXT XLATE=YES"

If still no luck then then manual may be of some help, see: http://www.scribd.com/doc/36139478/NDM-RefGuide

As you haven't specified the code page / encoding of your Windows file or the character-set / code page on your Unix system I can only guess.

0
 

Accepted Solution

by:
LBGUC04 earned 0 total points
ID: 33609608
I have the answer now, the snode sysopts part of the C:D script should have read SYSOPTS=":DATATYPE=BINARY:XLATE=NO:" with the added colons
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Secure Shell (SSH) is a network protocol for secure data communication, mainly used to administer remote Unix / Linux servers via command line. But it also allows the user to open a secure tunnel between a client and a server where he can send any k…
When it comes to security, there are always trade-offs between security and convenience/ease of administration. This article examines some of the main pros and cons of using key authentication vs password authentication for hosting an SFTP server.
Viewers will learn how to properly install and use Secure Shell (SSH) to work on projects or homework remotely. Download Secure Shell: Follow basic installation instructions: Open Secure Shell and use "Quick Connect" to enter credentials includi…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Suggested Courses

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question