Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Transfer SAVF using FTP (SENDSAVF) command builds a list of save file names that match the user's selection criteria and transfers those save file to another system using FTP; specifically it uses the COZTOOLS FTPFILE command to transfer the save files.
This command is conditionally threadsafe.
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
RMTSYS | Remote server or IP | Values (up to 64 repetitions): Path name | Required, Positional 1 |
USER | Remote User | Name, *CURRENT | Optional, Positional 2 |
PWD | Remote password | Character value, *USER | Optional, Positional 3 |
SAVF | Save file to transfer | Values (up to 300 repetitions): Qualified object name | Optional, Positional 4 |
Qualifier 1: Save file to transfer | Generic name, name, *ALL | ||
Qualifier 2: Library | Name, *LIBL, *USRLIBL, *CURLIB, *ALL, *ALLUSR | ||
RSTLIB | Send to library | Name, *SAVFLIB, *SAVLIB | Optional, Positional 5 |
OMIT | Save files to omit | Single values: *NONE Other values (up to 300 repetitions): Generic name, name |
Optional, Positional 6 |
ORDERBY | Ordering (Sequence) | Character value, 'ODOBSZ ASC,ODLBNM,ODOBNM', *ARRIVAL, *NONE | Optional, Positional 7 |
PASV | Passive Mode FTP | *AUTO, *ACTIVE, *PASV, *EPASV, *NONE, NONE, *NO | Optional, Positional 8 |
JOBQ | Submit to batch JOBQ | Single values: *NONE, *INTERACT, *NOMAX, *USRNOMAX, *USRPRF Other values: Qualified object name |
Optional, Positional 9 |
Qualifier 1: Submit to batch JOBQ | Name | ||
Qualifier 2: Library | Name, *LIBL, *CURLIB | ||
JOBLOG | Create joblog | *JOBD, *YES, *NO, *NOLIST | Optional, Positional 10 |
Top |
Specifies the systems receiving the copy of the Save Files.
This is a required parameter.
Top |
Specifies the user profile used to log onto the remote system (RMTSYS). The FTP 'user' command is sent along with the values specified for this parameter.
Top |
Specifies the password used to log onto the remote system (RMTSYS). The FTP 'user' command is sent along with the values specified for this parameter: as follows: 'user usrprf pwd'
NOTE: The password is objscured when written to the FTP log.
Top |
Specifies a list of save file names (generic, full or *ALL) that are to be sent to the RMTSYS using FTP via the COZTOOLS FTPFILE command.
You can specify 300 values for this parameter.
Qualifier 1: Save file to transfer
Qualifier 2: Library
Top |
Specifies an alternate restore-to library name on the remote system.
Top |
Specifies the names of Save files to be omitted from the transfer. Any save file whose name matches the pattern of the name(s) specified on this parameter are exclude from the transfer operation. The library name is not considered when omitting a save file.
Single values
Other values (up to 300 repetitions)
Top |
Specifies sequencing in which to process the save file names. This is a standard SQL "ORDER BY" clause over the IBM Supplied CL command DSPOBJD output file QADSPOBJ. Any fields in that file may be specified. The default is to sort the list by Object Size, ascending. If you prefer a different sequence, specify it here. NOTE: all save file names (up to 300) are processed and added to a work file and then the sequencing specified on ths parameter is applied. The SQL ORDER BY keyword ASC or DESC may be specified to control the ascending or descending sequence of the key field, respectively. By default, as you probably know, ASC (ascending) is the default for any key field specified for this parameter.
Top |
Specifies whether FTP Passive Mode is to be used by default. Some networks do not support Passive Mode nor do they support Extended Passive Mode. This parameter allows you to control how the FTP PASV mode is sent to the remote system. If the transfer is taking a long time and then ends without transferring any data, Passive Mode may be your issue. Try specifying PASV(*NONE) or PASV(*ACTIVE) and try the request again.
Top |
Top |
Top |
Top |
Top |