Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Macro name changed from html to html-bobswift during server to cloud migration processing.

...

Anchor
1093570
1093570
This UDM example script was tested on three different platforms: Linux, Windows XP, and IBM i.


Panel
Html bobswift
<pre>
1. 

set

Html bobswift
 echo=yes
2. 

exec

Html bobswift
 atlanta cmd="SAVLIB LIB(NONAME) DEV(*SAVF) SAVF(QGPL/ABC)" user=joe -
    pwd=abcdefg port=27887 svropt=" \-joblog never "
3. 

echo

Html bobswift
 "rc = " $(_execrc)
4. 

if

Html bobswift
 $(_execrc) GE 30
5. 

exec

Html bobswift
 atlanta cmd="SNDMSG MSG('The command, SAVLIB LIB(NONAME) DEV(*SAVF) -
    SAVF(QGPL/ABC), failed') TOUSR(*SYSOPR)" user=joe pwd=abcdefg port=27887 svropt=" \-joblog never "
6. end
7. 

quit

Html bobswift
 
</pre>

Anchor
1093771
1093771
UDM Script Explanation

...