in reply to Re: Re: Re: Connect:Direct?
in thread Connect:Direct?

Have you run into any problems with this code? I suspect that there might be some discrepencies in versions of C:D. But when I attempted to run this code snippet, with appropriate modifications, we kept getting an error message of: :&KEYWD=pend:. Of course, when we run the it from a shell script, there is no problem. We aren't doing anything as elaborate as your code, simply copying a file from Unix to a Mainframe.

If anyone has any thoughts on this message, it might be a help. Thanks.

"Ex libris un peut de tout"

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: Connect:Direct?
by physi (Friar) on May 21, 2003 at 20:21 UTC
    No sorry, this is runing with no problem on our system.
    If I understand you right, the pend seemd to be the problem. And when you put all that in a shell script, it works with the pend statement in it ?

    Sorry no idea right now :-(

    -----------------------------------
    --the good, the bad and the physi--
    -----------------------------------
    
      That was our conclusion as well. It works just fine from the Korn Shell script. I suspect that the error message about the pend is a red herring. I suspect the problem lies earlier in commands, or in how it is running. We're going to keep at it because at least with this we are getting better error messages than we were (which is to say none at all) when running from a Perl Module.

      Thanks though. At least its giving me a direction to work in.

      "Ex libris un peut de tout"