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.
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:
The following table lists the substitutable parameters that are supported:
Parameter | Description | Resolved Name Examples (Based on C:\a\b\c\d\config.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.txt |
%HDIR | High level directory | a |
%HLQ | High level qualifier of file | config |
%LFILE | File name with directory | C:\a\b\c\d\config.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.txt |
%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) | |
%GDATEC | Gregorian date with century (ccyymmdd) | |
%JDATE | Julian date (YYDDD) | |
%JDATEC | Julian date with century (CCYYDDD) | |
%LUSER | Local user ID | |
%PROC | Process name | |
%RUSER | Remote user ID | |
%TIME | Time (hhmmss) | |
%TRN | Transaction number | |
%UDATA | User data |
Note: You can use multiple PPA substitutable parameters within a single PPA command. Each substitutable parameter must be processed one at a time.
Because there is no drive in UNIX systems, if you use the %DRIVE parameter in a UNIX environment, then the % might be removed and DRIVE might be used as a substitution.
Copyright © Cloud Software Group, Inc. All rights reserved.