File - prepend to an existing file

Description - Appends a file to the beggining of another file

Runtime Class - com.ibi.agents.XDPFFileOpsAgent



Parameter Groups

 ParameterTypeDescription
*File Name:stringFile name of the data source to be prepended to the target file.
*Search Type:stringInterpret the file name using the following search pattern.

Select from one of the following options:
  • None {none} - No file selection pattern
  • DOS Expression {dos} - File selection pattern is DOS like (contains only '*' and '?' wild cards)
  • Regular Expression {regex} - File selection pattern is full Java Regular Expression
* - denotes required
 ParameterTypeDescription
*File Name:stringFile which the source will be prepended to.
* - denotes required
 ParameterTypeDescription
Is Directory:booleanSpecifies whether file target is a directory. Assumes file if not specified.
Create Directory:booleanCreate directory if it doesn't exist.
* - denotes required
 ParameterTypeDescription
Retry:integerIf non-zero, will retry the operation n times at one-second intervals
* - denotes required
 ParameterTypeDescription
*Out Document:stringDocument returned by operation (bad input defaults to result)

Select from one of the following options:
  • Result {result} - Return results of the operation; will be status document if operation is not prepend or append.
  • Status {status} - Return status document
  • Original {original} - Return the document passed in
*Return on Failure:stringWhether input document or status document returned on failure

Select from one of the following options:
  • Input Document {input} - Return status document on error
  • Status Document {status} - Return status document on error
* - denotes required

Output Events

NameDescription
OnFailedOperationCould not perform the operation requested.
OnNotFoundThe resource was not found. This may or may not be a failure.
OnParseErrorCould not parse a document.