PPA Substitutable Parameters
When using PPA substitutable parameters, you can modify the <command data> section in any PPA command to save you from specifying the LocalFileName or RemoteFileName parameters.
Note: PPA commands do not support standard transfer tokens. Standard tokens are not supported because they are relatively long, so using PPA substitutable parameters can save bytes.
Use the percentage sign (%) as the escape character when using PPA substitutable parameters.
A list of PPA tokens can be displayed by the cfsend or cfrecv commands by entering the following commands:
cfsend /hppacfrecv /hppa
The following table lists the substitutable parameters that are supported:
| Parameter | Description | Resolved Name Examples (Based on C:\a\b\c\d\config.prod.taxes.txt) |
|---|---|---|
| %DIR | Directory name without the file name and drive name | a\b\c\d |
| %DRIVE | Drive name | C |
| %FILE | File name without the directory | config.prod.taxes.txt |
| %HDIR | High level directory | a |
| %HLQ | High level qualifier of file | config |
| %LFILE | File name with directory | C:\a\b\c\d\config.prod.taxes.txt |
| %LLQ | Low level qualifier of file (data after the last period mark) | txt |
| %NODRIVE | File name without drive name | a\b\c\d\config.prod.taxes.txt |
%NOHLQ
|
No high level qualifier of file | prod.taxes.txt
|
%NOLLQ
|
No low level qualifier of file (data before last period) | config.prod.taxes
|
| %NOHDIR | Directory name without high level directory | b\c\d |
| %NOSDIR | Directory name without lowest level directory | a\b\c |
| %SDIR | Lowest level directory | d |
| %GDATE | Gregorian date (yymmdd) | 080929
|
| %GDATEC | Gregorian date with century (ccyymmdd) | 20210929
|
| %JDATE | Julian date (YYDDD) | 08273
|
| %JDATEC | Julian date with century (CCYYDDD) | 2021273
|
| %LUSER | Local user ID | |
| %PROC | Process name | ABC123
|
| %RUSER | Remote user ID | |
| %TIME | Time (hhmmss) | 165030
|
| %TRN | Transaction number | I929800001
|
| %UDATA | User data | UDABC123
|
Note: You can use multiple PPA substitutable parameters within a single PPA command. Substitutable parameters are processed one at a time.