× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I guess your issue is related to double quotes.
Try with something like a double quote variable

El jue., 18 de abr. de 2019 07:39, Andrew Smith <Andrew.Smith@xxxxxxxxxxxxx>
escribió:

Hello,

Looking for some much needed help 😊
I am trying to run the command below to remotely submit a job and the
first parameter is a version number which is a 6 long character (in this
case 9.0.0)
This fails and I think it is because the full stops are being rejected as
special characters

Can anyone help me get this to work…..many many thanks in advance !!!


CHGVAR &COMAND (‘ssh -Tvvv -n USERID@MACHINE +

‘’system "SBMJOB CMD(CALL PGM (MSBTRWRST/WASSTR) +

PARM(‘’9.0.0 ‘’ ‘’S’’ ‘’ ‘’)) +

JOB(WASSTR_TST) HOLD(*YES) JOBQ(QUSRNOMAX)

DMPCLPGM

QSH CMD(&COMAND)

MONMSG MSGID(QSH0000) EXEC (DO)

SNDMSG MSG(' Command failed! See WasStr.LOG') TOUSR(*REQUESTER)

ENDDO

Thankyou

Regards
Andy

This email is intended for the person or company named and access by
anyone else is unauthorised. If you are not the person or company named,
please delete this email and notify the sender. The information in this
email, including any attachments, may be confidential or legally privileged
and its unauthorised disclosure, copying, distribution or use is prohibited
and may be unlawful. This email has been sent from MDS Global Ltd, a
registered company incorporated in England and Wales with registered number
02263085 . The registered office is The Point, 410 Birchwood Boulevard,
Warrington, Cheshire WA3 7WD. MDS Global Ltd may monitor email traffic data
and also the content of email for the purposes of security, ensure
compliance with company policies and staff training.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.