...
To run UDM in interactive mode, enter the following at the command prompt:
Panel |
---|
Html bobswift |
---|
<pre>
STRUDM
</pre>
|
|
This starts the UDM Manager. You will be greeted with a start-up message and the UDM prompt:
Panel |
---|
Html bobswift |
---|
<pre>
UNV2800I Universal Data Mover 5.1.1 Level 0 started.
udm>
</pre>
|
|
UDM now is ready to process commands. At the udm> prompt, you can enter any UDM command.
To exit UDM, enter the following command at the udm> prompt:
Panel |
---|
Html bobswift |
---|
<pre>
quit
</pre>
|
|
Anchor |
---|
| Running UDM from a Script |
---|
| Running UDM from a Script |
---|
|
Running UDM from a Script
To invoke a UDM script, enter the following on the command line:
Panel |
---|
Html bobswift |
---|
<pre>
STRUDM SCRFILE(library/file) SCRMBR(member)
</pre>
|
|
This starts the UDM Manager using the script located by library, file, and member.
...
To execute a batch file such as the one below, use SBMDBJOB FILE(LIBNAME/FILENAME) MBR(MBRNAME)
:
Panel |
---|
Html bobswift |
---|
<pre>
//BCHJOB JOB(MYUDMJOB) ENDSEV(10)
STRUDM MYLIB/QSCRSRC UDM817
//ENDBCHJOB
</pre>
|
|
Output is sent to the output queue associated with the batch job. Two spooled files will be sent to the output queue; one file associated with standard out and one file associated with standard error.
...