Macro Substitution

<< Click to Display Table of Contents >>

Navigation:  Robo-FTP User's Guide > Robo-FTP Framework > Job Definitions >

Macro Substitution

 

It is possible to perform macro substitution in the configuration options by using the + sign to indicate string concatenation between macros and literal quoted strings.

 

The available macros are :

 

•        %year                        The 2 digit year: ie 12 for 2012

•        %month                The 2 digit month: ie 02 for February

•        %month_abbreviation        The 3 character month abbreviation: ie Feb for Ferbruary

•        %day                        The 2 digit day of the month

•        %weekday                The 2 digit day of the week: ie Sunday is 0 and Saturday is 6

•        %wday_abbreviation        The 3 character day of the week: ie Sunday is Sun

•        %hour                        The 2 digit hour of the day

•        %minute                The 2 digit minute of the day

•        %step                        The last filename processed by step

•        %step[#]                The period separated token from the filename (starts with 0) IE: fileid.dat.Z.pgp, %step[0] = fileid, %step[2] = Z…

•        %job_details                The step result strings for every step processed so far

•        %job_name                The current jobs name

•        %step_name                The name of the currently executing step