Directory Tokens
To perform directory transfers, you can enter directory names with tokens to save your time.
The following table lists the tokens that you can use in directory transfers:
Token | Description |
---|---|
$(SDIR) | This parameter substitutes the subdirectory of the file transferred. You can use this case-sensitive token with a receive transfer as part of the
For example, cfrecv ScanSubDir:Y LocalFileName:’/home/johndoe/data/$(SDIR)/$(RemoteFileName)’ RemoteFileName:’/mftps/data/*’ n:MontrealNode As a result of this example, all files from |
$(MEMBER) | You can use this token to make names of received files in the local system the same as member names in a remote z/OS system.
Note: Use this token only when you perform a receive transfer from a remote z/OS system.
If there is no $(MEMBER) token in the file name from the z/OS side, this token is ignored. For example, if you use
/mftps/$(MEMBER)/filename as a file path, then the file path can be resolved to
/mftps/DATA/filename WHERE |