Operating System - HP-UX
1833062 Members
2768 Online
110049 Solutions
New Discussion

Re: Connect Direct Help Required

 
Amjith Pillai
New Member

Connect Direct Help Required

Requirement:
I need to send the data to Windows Machine

Issue.- SNODE Path

Step1 Copy From (PNODE DSN="&DSN") -
TO (SNODE DSN="\\test1\test2\&DIR")
COMPRESS

But, issue here is, after successful completion of Connect Direct I'm getting the output as

Successfully completed but the \ is truncated and getting output SNODE as

DSN=\test1test2file.txt
10 REPLIES 10
Steven Schweda
Honored Contributor

Re: Connect Direct Help Required

> I need to send the data to Windows Machine

Which data? From what?

You might get better answers sooner if you
explained what "Connect Direct" means to you,
and what connection, if any, any of this has
with HP-UX. (Or find an appropriate forum.)
Bill Hassell
Honored Contributor

Re: Connect Direct Help Required

For the Connect:Direct file transfer software, you will have better results by contacting Sterling Commerce:

http://www.sterlingcommerce.com/products/managed-file-transfer/connect-direct/


Bill Hassell, sysadmin
Steven Schweda
Honored Contributor

Re: Connect Direct Help Required

> TO (SNODE DSN="\\test1\test2\&DIR")

> DSN=\test1test2file.txt

I still know nothing, but it looks as if
pairs of "\" characters everywhere might work
better than single "\" characters. UNIX
shells and other programs do tend to treat
"\" as a special (escape) character.
Amjith Pillai
New Member

Re: Connect Direct Help Required

Hi Steve and Bill,

The issue here is truncating the '\' character while Connect Direct 'Submit' Process.

I'm trying to send file from Mainframe to Windows machine. There is no issues with the File or Data.

Before Submit process: TO (SNODE DSN="\\test1\test2\&DIR")

After Submit process: TO (SNODE DSN="\test1test2&DIR")

This is the issue and I'm looking for some solution in this. Hope you clear and if still need more explanation, I'll send you.

Step1 Copy From (PNODE DSN="&DSN") -
TO (SNODE DSN="\\test1\test2\&DIR")
COMPRESS


Thanks and Regards,
Amjith P Pillai
IBM India
Amjith Pillai
New Member

Re: Connect Direct Help Required

Hi Steve,

I've tried with double '\' in the path but still truncating.

before: TO (SNODE DSN="\\test1\\&DIR")

After : TO (SNODE DSN="\\test1file1")

thanks and regards,
amjith p pillai

Steven Schweda
Honored Contributor

Re: Connect Direct Help Required

> I'm trying to send file from Mainframe to
> Windows machine.

So, you're dealing with z/OS and Windows, and
a third-party file-transfer product, and
you're asking about it in an HP-UX forum?

Why?
WayneHP
Frequent Advisor

Re: Connect Direct Help Required

Your replies are not consistant.

First you state.

Before Submit process: TO (SNODE DSN="\\test1\test2\&DIR")

After Submit process: TO (SNODE DSN="\test1test2&DIR")

Then

before: TO (SNODE DSN="\\test1\\&DIR")

After : TO (SNODE DSN="\\test1file1")

as if the the first set of \\ passed.

It cannot be both please clarify.

I suspect the your problem is around the \\&DIR where u have many special chars to deal with

I would GUESS at

(SNODE DSN="\\test1\\test2\\\&DIR")

escaping each back slash and then the &

Dennis Handly
Acclaimed Contributor

Re: Connect Direct Help Required

What hardware to you have and what Windows and other OS versions?
OldSchool
Honored Contributor

Re: Connect Direct Help Required

you said"
Before Submit process: TO (SNODE DSN="\\test1\test2\&DIR")

After Submit process: TO (SNODE DSN="\test1test2&DIR")

=========================

I believe what you need (and noted previously) is:
\\test1\\test2\\&DIR

(in other words, you need two "\" wherever you want one in the output)
Amjith Pillai
New Member

Re: Connect Direct Help Required

Hi All...

I've identified the solution and its working for me.......
Proper Append and playing with slashes working ...

&DSN1=\'\ || C: || \\\\ || TEMP || \\\\ ||
GGGGG || \\\\ || PROVALG.TXT || \'\


thanks and regards,
Amjith Pillai