You have to imagine that there is a command line on the remote system that will accept the command supplied to SBMRMTCMD.
On the source system, after submitting the remote command, you will notice that the following messages are returned -
Remote database job started.
Command completed on target system.
Press F1 on the 1st one will identify the remote job started to process your request. It will probably be running under QUSER who necessarily has restricted authority.
Thus remote requests can often appear to hang when QUSER encounters an authority issue while attempting the execute the request on your behalf. Look at the job log on the remote system.
Peter
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Gqcy
Sent: Thursday, 24 April 2014 4:18 a.m.
To: midrange-l@xxxxxxxxxxxx
Subject: SBMRMTCMD - doesn't really submit?
I want to SUBMIT a job on a remote IBMi...
do I need to:
SBMRMTCMD CMD(SBMJOB CMD(SAVLIB......) JOB(NIGHT_BU) JOBD(QGPL/BACKUPJD)
) DDMFILE(QGPL/REMOTEDDM)
because doing:
SBMRMTCMD CMD(SAVLIB .....) DDMFILE(QGPL/REMOTEDDM) just hangs the screen
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at
http://archive.midrange.com/midrange-l.
#####################################################################################
This correspondence is for the named person's use only. It may contain confidential
or legally privileged information, or both. No confidentiality or privilege is waived
or lost by any mistransmission. If you receive this correspondence in error, please
immediately delete it from your system and notify the sender. You must not disclose,
copy or rely on any part of this correspondence if you are not the intended recipient.
Any views expressed in this message are those of the individual sender, except where
the sender expressly, and with authority, states them to be the views of Veda.
If you need assistance, please contact Veda on either :-
Australia customerassistance@xxxxxxxxxxx or New Zealand +64 9 367 6200
As an Amazon Associate we earn from qualifying purchases.