Re: using bpxwunix with tsocmd to run XMIT

2015-03-17 Thread Shmuel Metz (Seymour J.)
In d3571c7d425590479eb3adb197bfc47b03932...@m4ukex02.intranet.macro4.com, on 03/17/2015 at 09:45 AM, Steve Austin steve.aus...@macro4.com said: any quotes I put around the dsn are ignored Presumably the command operand of bpxwunix is subject to shell parsing, for which quotes and apostrophes

using bpxwunix with tsocmd to run XMIT

2015-03-17 Thread Steve Austin
I'm using bpxwunix with tsocmd to run an XMIT (see below). This works, but I've been unable to prevent the TSO PREFIX, being added to dataset name; any quotes I put around the dsn are ignored. Neither have I been able to set NOPREFIX. Is there a way to prevent the suffix being added? Thanks

Re: using bpxwunix with tsocmd to run XMIT

2015-03-17 Thread Elardus Engelbrecht
Steve Austin wrote: I'm using bpxwunix with tsocmd to run an XMIT (see below). This works, but I've been unable to prevent the TSO PREFIX, being added to dataset name; any quotes I put around the dsn are ignored. Neither have I been able to set NOPREFIX. Is there a way to prevent the suffix

Re: using bpxwunix with tsocmd to run XMIT

2015-03-17 Thread John McKown
On Tue, Mar 17, 2015 at 7:06 AM, Steve Austin steve.aus...@macro4.com wrote: Thanks Elardus, but however many quotes I insert they are appear to be ignored. I've tried the command from OMVS and get the same result (see below). Steve Example output from an actual UNIX command line prompt (not

Re: using bpxwunix with tsocmd to run XMIT

2015-03-17 Thread Steve Austin
Engelbrecht Sent: 17 March 2015 10:40 To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: using bpxwunix with tsocmd to run XMIT Steve Austin wrote: I'm using bpxwunix with tsocmd to run an XMIT (see below). This works, but I've been unable to prevent the TSO PREFIX, being added to dataset name; any quotes

Re: using bpxwunix with tsocmd to run XMIT

2015-03-17 Thread Paul Gilmartin
On Tue, 17 Mar 2015 05:39:49 -0500, Elardus Engelbrecht wrote: Old trap for anyone trying string parsing... I sometimes fall in that trap too. ;-) I did, several times, trying to find a solution. And you can't do a TRACE to see how lines are parsed and resolved... ouch... trace R helps for

Re: using bpxwunix with tsocmd to run XMIT

2015-03-17 Thread Elardus Engelbrecht
Steve Austin wrote: Thanks Elardus, but however many quotes I insert they are appear to be ignored. I've tried the command from OMVS and get the same result (see below). So I see after that IKJ message. I assume you do it interactively. Replace /bin/tsocmd XMIT ZOS113.SA

Re: using bpxwunix with tsocmd to run XMIT

2015-03-17 Thread Elardus Engelbrecht
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

Re: using bpxwunix with tsocmd to run XMIT

2015-03-17 Thread Steve Austin
with tsocmd to run XMIT Steve Austin wrote: Thanks Elardus, but however many quotes I insert they are appear to be ignored. I've tried the command from OMVS and get the same result (see below). So I see after that IKJ message. I assume you do it interactively. Replace /bin/tsocmd XMIT

Re: using bpxwunix with tsocmd to run XMIT

2015-03-17 Thread Steve Austin
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

Re: using bpxwunix with tsocmd to run XMIT

2015-03-17 Thread Elardus Engelbrecht
Steve Austin wrote: Don't quote me, but I now have it working as described. Thanks for your help! You're most welcome, but I believe Paul should get the credits for helping out. About quotes, it reminds me of this old school joke: Teacher: 'Hey, Pete, why are all your answers in quotes?'

Re: using bpxwunix with tsocmd to run XMIT

2015-03-17 Thread Shmuel Metz (Seymour J.)
In 2128103613061808.wa.paulgboulderaim@listserv.ua.edu, on 03/17/2015 at 07:19 AM, Paul Gilmartin 000433f07816-dmarc-requ...@listserv.ua.edu said: cmd = set -x; /bin/tsocmd XMIT target DS('dsn') I see it now; your original code had the apostrophes around DS(foo) instead of just

Re: using bpxwunix with tsocmd to run XMIT

2015-03-17 Thread Paul Gilmartin
On Tue, 17 Mar 2015 09:27:53 -0400, Shmuel Metz (Seymour J.) wrote: on 03/17/2015 at 07:19 AM, Paul Gilmartin said: cmd = set -x; /bin/tsocmd XMIT target DS('dsn') I see it now; your original code had the apostrophes around DS(foo) instead of just around the dsn. And the parentheses