FUSSEND
You can use the FUSSEND exec to queue a request to send a file to a remote partner.
Required Parameters
The following table lists the required parameters of the FUSSCMD exec:
Parameter | Description |
---|---|
LFILE | LF | DSN | Defines the data set that the platform server updates with data received by the remote system. |
RFILE | RF | REMOTE_FILE | Defines the name of the file on the remote platform server system.
The remote system will read this file and send the data to the local platform server that will write the data to the LFILE file. |
IPADDR or IPNAME or LIST or NODE | IPADDR: defines the dotted decimal IP address of the remote platform server node.
IPNAME: defines the IP name of the remote platform server node. It can be up to 24 bytes. LIST: defines the name of the distribution list. NODE: defines the name of the destination node for a request. The LUname is used if NODE is not defined to the platform server. |
Optional Parameters
The optional parameters of the FUSSEND exec are as follows: includes the following optional parameters:
Optional Parameters | Description |
---|---|
ALLOC_TYPE | Defines the allocation type for creating data sets.
The valid values are as follows: |
ALLOC_DIR | Defines the number of directory blocks that should be allocated when a data set is created. |
ALLOC_PRI | Defines the primary allocation quantity when creating a data set. |
ALLOC_SEC | Defines the secondary allocation quantity when creating a data set. |
AVAIL | Defines whether TAPE is supported. |
BLOCKSIZE | Defines the size of the block when creating a data set. |
CKPT | Defines whether to take checkpoints during this transfer.
The valid values are as follows: |
COMPRESS | Defines whether to use data compression, or defines the data compression algorithm to use.
The valid values are as follows: |
CONFIG | CFG | Defines the configuration file used by the platform server exec.
If this parameter is not defined, the platform server uses the default configuration. |
COPIES | Defines the number of copies for a report. |
CRCCHECK(CRC) | Defines whether to perform CRC checking on the transfer.
The valid values are as follows: |
CRLF | Defines whether records are delimited by CRLF (Carriage Return/Line Feed).
The valid values are as follows: |
DATACLASS | Defines the SMS data class when creating a data set. |
DATASET_TYPE | Defines the type of data set to be created.
The valid values are as follows: |
DESCRIPTION | Defines the user data for the transfer in 25 bytes. |
DESTINATION | Defines the destination for a report. |
DISP | Defines the type of allocation that the platform server performs for the request.
The valid values are as follows: |
EFFECT | Defines how the platform server open a data set when writing to the data set.
The valid values are as follows: |
EMAIL_FAIL | Defines the email address to which to send an email notification when a request is completed unsuccessfully. |
EMAIL_GOOD | Defines the email address to which to send an email notification when a request is completed successfully. |
ENCRYPT | Defines the level of encryption that is used by the transfer.
If specified, this parameter overrides the ENCRYPT parameter specified in the GLOBAL or NODE definitions for this transfer. The valid values are as follows:
For more information on this parameter, see Data Encryption. |
EVERY | Defines the interval at which the request will be executed.
For more information on the description of the platform server Batch interface EVERY parameterin section in the Batch Interface section, see SYSIN Coding Parameters in SYSIN DD Statement. . |
EVERY_COUNT | Defines the number of times that an
EVERY request can be executed.
For more information on the description of the platform server Batch interface EVERY_COUNT parameterin section in the Batch Interface section, see SYSIN Coding Parameters in SYSIN DD Statement. |
EVERY_EXDAYS | Defines the expiration interval in days for a transfer scheduled by an
EVERY request.
For more information on the description of the platform server Batch interface EVERY_EXDAYS parameter in section in the Batch Interface section, see SYSIN Coding Parameters in SYSIN DD Statement. |
EVERY_EXTIME | Defines the expiration interval in hours and minutes for a transfer scheduled by an
EVERY request.
For more information on the description of the platform server Batch interface EVERY_EXTIME parameterin section in the Batch Interface section, see SYSIN Coding Parameters in SYSIN DD Statement. |
EVERY_MISSED | Defines whether a request is scheduled when the interval defined by the
EVERY request has passed.
For more information on the description of the platform server Batch interface EVERY_MISSED parameterin section in the Batch Interface section, see SYSIN Coding Parameters in SYSIN DD Statement. |
EXPDT | Defines the expiration date of a file transfer request, in Julian format, CCYYDDD.
The default value is 30 days from now. |
EXPTM | Defines the expiration time for a file transfer request. |
FCB | Defines a form control buffer for a report. |
FORM | Defines the name of the form for a report. |
HOLD | Defines whether a request is put on hold when it is queued.
The valid values are as follows: |
INTERVAL | Defines the status scan interval. |
IVOLUME | Defines the volume that is used for input data set processing by the platform server.
When this parameter is specified, the catalog is not used to allocate the data set. |
LDISP | Defines local status, normal disposition, and error disposition.
The values of the LDISP parameter must be delimited by a colon instead of a comma. |
LENGTH | The record length of a file when creating a data set. |
LOCALLABEL |
Defines the label used on the initiating Platform Server when sending or receiving a tape file. The input format is (nn,SL) where nn defines the file label number andSL is the only label type currently supported. For sending a tape file, if the label information is in the catalog, this parameter is not required. This parameter is ignored for disk files. |
LOGON_DOMAIN | Defines the name of the Windows domain to which to log on. |
MGTCLASS | Defines the SMS management class when creating a data set. |
MQ_GOOD | Defines the MQ (Message Queue) to which the platform server writes a record when a request is completed successfully. |
MQ_FAIL | Defines the MQ (Message Queue) to which platform server writes a record when a request fails. |
MWAIT | Puts a request on a queue, and returns to the caller before the request is completed. |
NODE | Defines the name of the destination node for a request.
The LUname is used if the NODE parameter is not defined to the platform server. |
NOTIFY | Defines the TSO user to notify when the request is completed. |
NOTIFY_TYPE | Defines a type of user to notify when the request is completed.
Currently, the only option supported is TSO. |
OVOLUME | Defines the volume that is used for that is used for the output data set for a transfer.
When this parameter is specified, the catalog is not used to allocate the data set. |
PERMIT_ACTNS | Defines the permitted actions for Windows.
The valid values are as follows: |
PROCESS | Defines the process name that is associated with the request. |
PRIORITY | Defines the priority for file transfers.
The allowable values are 0 - 9. The default value is 3. |
PRINTER_NAME | Defines the name of a remote printer. |
PURGE | Defines whether to purge uncompleted transfers when the TIMEOUT interval expires. |
RDISP | Defines the remote status, normal disposition, and error disposition.
The values of the RDISP parameter must be delimited by a colon instead of a comma. |
RECFM | Defines the platform record format when creating a data set.
The valid values are as follows: |
REMOTELABEL | Defines the label used on the target Platform Server when sending or receiving a tape file. The input format is (nn,SL) where nn defines the file label number and SL is the only label type currently supported. For sending a tape file, if the label information is in the catalog, this parameter is not required. This parameter is ignored for disk files. |
RETENTIONPRD | Defines the number of days that the platform server leaves a request on an active queue before purging the request.
The allowable values are 1 - 9999. The default value is 30 days. |
RETRY | Defines the number of times that the platform server tries a request when a network error occurred.
The default value of 1 means that the platform server purges the transfer when the first network error occurs. For best results set this parameter to 1 if you specify the WAIT parameter. |
RETRYINT | Defines the retry interval of the file transfer.
This parameter can be specified in terms of hours, for example, RETRYINT=2H or minutes, for example, RETRYINT=0M. |
REXX_EXEC | Defines a REXX exec that will be executed when the platform server request is completed, either successfully or unsuccessfully. |
RMTRAIL | Defines whether to remove the trailing blanks and spaces when sending a TEXT file to the platform server for UNIX or Windows.
The valid values are as follows: |
RPASS | Defines the password for the user on a remote computer. |
RUSER | Defines the name of the user on the remote computer.
If this parameter is not defined, the default value *PROFILE is used. |
SAY | Writes a status record on each status scan. |
STORCLASS | Defines the SMS storage class when creating the data set. |
SYSOUT | Defines the SYSOUT class for a report. |
TEMPLATE | Defines the Windows template for a file transfer. |
TIME | Defines the start time of the request in 24-hour clock format, hhmm. |
TIMEOUT | Defines the timeout interval. |
TLS | Defines whether TLS (SSL) can be used for this request. This definition overrides the GLOBAL or NODE definitions.
The valid values are as follows: |
TRANS_TYPE | Defines the type of transfer being sent or received.
The valid values are as follows: |
TRUNCATE(TRUNC) | This parameter is only used when receiving a file from Windows, UNIX, IBMi or MFT Internet Server when record delimiters are defined. This parameter is ignored for a SEND or when communicating to another zOS system.
The valid values are:
|
TYPE | Defines the type of data in a file, and whether ASCII - EBCDIC conversion occurs.
The valid values are as follows: |
USERNAME | Defines the user name associated with a report. |
UTF8BOM | Defines whether the UTF-8 BOM(0xefbbbf) is added at the start of the converted data or is removed from the start of the data before conversion. This parameter is used only when the LCT parameter defines that Unicode services are used to convert data. This parameter can be used for a z/OS Initiated Send or Receive transfers, although it is more commonly used when sending a file to a target system that requires a BOM.
The valid values are:
|
VOLUME | Defines the volumes where the data set can be written.
Up to 5 volumes can be defined. If more than one volume is defined, the volumes must be delimited by colons. |
VSAM_RRSLOT | Defines whether the RRDS slot number is included in a VSAM RRDS transfer. |
VSAM_KEYPOS | Defines the VSAM KSDS key position relative to 0. |
VSAM_KEYLEN | Defines the VSAM KSDS key length. |
VSAM_TYPE | Defines the type of VSAM file to be created.
The valid values are as follows: |
VSAM_LIKE | Defines the model DSN for VSAM file creation. |
VSAM_LRECL | Defines the record length used for VSAM file creation. |
VSAM__REUSE | Defines whether to use the VSAM RESUSE option. |
WAIT | Waits for this request to be completed before returning to REXX. |
WRITER | Defines the name of the z/OS external writer for a report. |
Example
The following example shows how to use the FUSSEND exec to queue a request to send a file to a remote partner:
FUSSEND NODE=SNANODE LF=LOCAL.FILE1 RF=C:\FUSSEND.TXT INTERVAL=3 SAY WAIT TYPE=TEXT CRLF=YES
The output of this example is as follows:
TRANSACTION=IA01500042 STATUS=ACTIVE RECORD=000000000 BYTES=000000000 TRANSACTION=IA01500042 STATUS=COMPLETE RECORD=000000052 BYTES=000004160 ***Fusion retcode.......= 0 ***Fusion TransNum......= IA01500042 ***Completed transfers..= 01 ***Successful transfers.= 01 ***Failed transfers.....= 00 ***Purged transfers.....= 00 ***Last Message.........= PGTF3101I Activity IA01500042 successfully transferred 52 records with remote node SNANODE Request Queued successfully with TRANSNUM= IA01500042