This procedure sends a command to be executed by a service-point application. Responses received are displayed as text messages.
$NWRUNCM NODE=service_point_name [ LINKNAME=link_name | SSCP=remote_sscp ] APPL=application_name DATA=command_text
Operands: $NWRUNCM Procedure
Specifies the name of the service point (PU) for executing the command.
(Optional) Specifies the ISR link name for routing the request to a remote host that is the focal point for the NODE specified and will act as the source of the application command. If LINKNAME and SSCP are omitted, the request is sent from the local host.
(Optional) Specifies the name of a remote host that is the focal point for the NODE specified and will act as the source of the application command. If LINKNAME and SSCP are omitted, the request is sent from the local host.
Specifies the name of an application residing on the specified NODE which is to execute the command.
Specifies the command text intended for the application. It must be specified as the last operand to the $NWRUNCM procedure. The SNA-imposed limit on this is 253 characters.
Example 1: From Command Entry
$NWRUNCM NODE=ASYD61 APPL=NETWARE DATA= + SNAME=RESEARCH Query Volume USpaceAllowed + VolName=SYS UserName=user01
The following responses are written to the Command Entry screen:
EW0019 NODE=ASYD61, DATE=.... EW0020 NTWK=SDINET1, SSCP=.... EWR003 MESSAGE TEXT EWR004 SNAME=RESEARCH USERNAME=USER01 VOLNAME=SYS EWR004 USPACEALLOWED=10000KBYES EW0018 *END*
Example 2: From an NCL procedure
&INTCLEAR &INTCMD $NWRUNCM NODE=ASYD61 APPL=NETWARE DATA= + SNAME=RESEARCH OP=user01 Remove File Trustee+ Path=SYS:USER01\TEST UserName=user02 &MSGNO = &DOWHILE .&MSGNO NE .EW0018 &INTREAD STRING=(RSPMSG) &PARSE VARS=MSGNO REMSTR=MSGTXT + DATA=&RSPMSG ... ... &DOEND
| Copyright © 2012 CA. All rights reserved. |
|