The task is used to decrypt a previously encrypted password value.
The task supports Build Extensions Debugging Attributes, as well as, its own task specific attributes. Click on a link for more information on the common attributes.
The following table describes the task specific attributes for the task:
| Task Specific Attributes | ||
| Attribute | Description | Required |
| password | Previously encrypted password value. Refer to setPassword for more information. | Yes |
| property | Name of the Ant property in which to return the plain-text password value. | Yes |
| verbose | Specifies more message output. The default is false. | No |
Substitute TSO userid and password prior to submitting a job
<!-- Archive init -->
<xt:getpassword password="${jcl.password}" property="pwd"/>
<!-- Archive APAR -->
<copy file="${archiveJcl}" tofile="${dir.work}/ArchiveApar.jcl" overwrite="true">
<filterchain>
<replacetokens>
<token key="USERID" value="${jcl.userid}"/>
<token key="PASSWORD" value="${pwd}"/>
<token key="APAR" value="${ims.build.ant.aparName}"/>
</replacetokens>
</filterchain>
</copy>
<!-- Obscure the password -->
<ac:var name="pwd" value="********"/>