File Name Tokens List
To use the file name tokens, you have to be familiar with their respective definitions, and their generated values.
Token | Definition | Generated Value (Examples) |
---|---|---|
CYear | CCYY | 2009 |
Date | YYYYMMDD | 20090625 |
Date1 | YYMMDD | 090625 |
Date2 | MMDDYY | 062509 |
Date3 | DDMMYY | 250609 |
DateUS | MMDDYYYY | 12312014 |
Day | DD | 01 - 31 |
Hour | HH | 00 - 23 |
JDate | YYYYDDD | 2009176 |
LocalUserId | z/OS user ID associated with the transfer. |
Local file: $(LocalUserId).$(RemoteFileBase) Remote file: ACCT.TAX.Y2009 User ID: PRUSER1 Token resolves to: PRUSER1.ACCT.TAX |
Member | Member name associated with the transfer. |
Local file: $(RemoteFileBase).$(Member) Remote file: PROD.TEST.ACCT.TAX(Y2009) Token resolves to: PROD.TEST.ACCT.Y2009 |
Minute | MM | 00 - 59 |
Month | MM | MM |
Second | SS | 00 - 59 |
Time | HHMMSMSS | 084513126 |
Time1 | HHMMSS | 084513 |
Time2 | HHMMSST | 0845138 |
Year | YY | 00 - 99 |
RemoteFileBase | The remote file name only. |
Local file: $(RemoteFileBase) Remote file: PROD.TEST.ACCT.TAX.Y2009 Token resolves to: PROD.TEST.ACCT.TAX |
RemoteFileExt | All file name data after the first qualifier. |
Local file: $(RemoteFileExt) Remote file: PROD.TEST.ACCT.TAX.Y2009 Token resolves to: TEST.ACCT.TAX.Y2009 |
RemoteFileName | The remote file name including the extension to be used. |
Local file: $(RemoteFileName) Remote file: c:\source\directory\tstfile1.txt Token resolves to: TSTFILE1.TXT |
RemoteFileNameFull | The remote file name including the member name to be used. |
Local file: $(RemoteFileNameFull) Remote file: PROD.TEST.ACCT.TAX(Y2009) Token resolves to: PROD.TEST.ACCT.TAX.(Y2009) |
RemoteTransactionNumber | Remote transaction number used in the file transfer. |
Local file: /tmp/$(RemoteTransactionNumber).txt Remote file: c:\source\directory\testfile1.txt Token resolves to: d:\fn\I925600005 |
RemoteUserId | Remote user ID used in the file transfer. |
Remote user ID: TEST\cfuser1 Remote file: PROD.$(RemoteUserId).DATA Token resolves to: PROD.CFUSER1.DATA |