Don't quote me, but I now have it working as described. Thanks for your help!
Steve -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Elardus Engelbrecht Sent: 17 March 2015 12:37 To: [email protected] Subject: Re: using bpxwunix with tsocmd to run XMIT Paul Gilmartin wrote: >>And you can't do a TRACE to see how lines are parsed and resolved... ouch... >"trace R" helps for Rexx, but not entirely' >"set -x" works for shell. Thanks. So I found out the hard way... >It's even worse. I got it to work with: > cmd = "set -x; /bin/tsocmd ""XMIT" target "DS('"dsn"')""" > xrc = bpxwunix(cmd, 'lines.', /* out. */, /* err. */, /* env., >login, batch, */ ) More, but different types of quotes. Ok, next time I will quote you! ;-) I believe Steve will use your example successfully. Thanks Paul for kindly helping out. Much appreciated! You can of course quote me on this. >The hard one is RECEIVE -- one needs to QUEUE the reply to the prompt. >That's not always possible. Of course. Groete / Greetings Elardus Engelbrecht ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN This e-mail message has been scanned and cleared by Postini / Google Message Security and the UNICOM Global security systems. This message is for the named person's use only. If you receive this message in error, please delete it and notify the sender. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
