...
In this example, a Universal Command command file named
MYLIB/QTXTSRC(TESTLOGIN)
contains the following data:
Panel |
---|
html- bobswift
<pre>
-userid T02JAH1 -pwd tz74gan
</pre>
|
Command File Options
The command file options used in this example are:
...
The following command encrypts the command file using non-AES encryption with an encryption key
MYKEY123 for default codepage IBM1047.
Panel |
---|
Html bobswift |
<pre>
STRUEN INFILE(MYLIB/QTXTSRC) INMBR(TESTLOGIN) OUTFILE(MYLIB/ENCRYPTEDF) OUTMBR(ENCRYPTEDF) KEY(MYKEY123)
</pre>
|
The resulting encrypted command file is written to file
ENCRYPTEDF in
MYLIB library.
...
The figure below illustrates the contents of
MYLIB/ENCRYPTEDF(ENCRYPTEDF)
.
Panel |
---|
<pre>
# Universal Encrypt
# Created on Wed Feb 22 18:43:51 2011
# Created by uencrypt 3.2.0 Level 0
9ACB96416816600CB9D24C9072D80C11768B93CB0E79B944EC37D3495097AD793F97399220C9BB
472DF1E04F5BA8909BCA6C8C72DFD3B706487B1713E6F73F5A0539F17076DEF6D14083EF6E7023
158526E70BE3AF688579805DCAC0CFF1EB6A
</pre>
|
|
This encrypted file now can be used as command file input for a Universal Agent command on any platform that uses the encryption key
MYKEY123.
...