Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Commande SBMRMTCMD

86 views
Skip to first unread message

Pierre GRUFFAZ

unread,
Oct 14, 1998, 3:00:00 AM10/14/98
to
Hello,

I want to use the command SBMRMTCMD.

Inside this command, I want to put an other command with parameters and
quotes (')

For example, SBMRMTCMD cmd('ADDWWWUSR par1('AAAAA') par2('BBBBB') ')etc...

how can I manage the quotes inside the command ????

Thanks for your help.

boo...@ibm.net

unread,
Oct 14, 1998, 3:00:00 AM10/14/98
to
Sometimes I create a little CL, put in the command and prompt it with F4, fill out the fields, and enter. That shows me what CL thinks will work. Then a copy & paste onto a command line and I'm in business. Usually.

In <702ie1$lrr$1...@platane.wanadoo.fr>, on 10/14/98

>Hello,

>Thanks for your help.


--
-----------------------------------------------------------
boo...@ibm.net
Booth Martin
-----------------------------------------------------------


Richard Daniels

unread,
Oct 14, 1998, 3:00:00 AM10/14/98
to
Pierre GRUFFAZ wrote:
> Inside this command, I want to put an other command with parameters
> and quotes (')
> how can I manage the quotes inside the command ????

One technique is to build variable strings (CHGVAR) with the desired
contents (parms and quotes). Note too, that double quotes can sometimes
be used within a single quoted string.

Dick Daniels
http://www.wynth.com/

Charles R. Pence

unread,
Oct 14, 1998, 3:00:00 AM10/14/98
to
Double 'em up.
sbmrmtcmd cmd('crtdtaara lib/daname *lgl text(''This is my text'')')

Regards, Chuck
All comments provided "as is" with no warranties of any kind whatsoever.

Pierre GRUFFAZ wrote:

> I want to use the command SBMRMTCMD.
>

> Inside this command, I want to put an other command with parameters and
> quotes (')
>

> For example, SBMRMTCMD cmd('ADDWWWUSR par1('AAAAA') par2('BBBBB') ')etc...
>

Terry Herrin

unread,
Oct 19, 1998, 3:00:00 AM10/19/98
to
On Wed, 14 Oct 1998 18:08:17 +0200, "Pierre GRUFFAZ"
<pgruff...@wanadoo.fr> wrote:
>I want to use the command SBMRMTCMD.
>Inside this command, I want to put an other command with parameters and
>quotes (')
>For example, SBMRMTCMD cmd('ADDWWWUSR par1('AAAAA') par2('BBBBB') ')etc...
>how can I manage the quotes inside the command ????

You don't need the quotes. I use SBMRMTCMD extensively in a set of
programs I wrote, and I do substring replaces to change the parameters
within the command I am submitting. It works fine without quotes.

Terry Herrin
Sr. Programmer/Analyst
New Hanover Regional Medical Center
Wilmington, NC

0 new messages