Redwood Documentation

Product Documentation

 

›Platform Agent

Separate ComponentsGeneric Components

Catalog

  • Catalog

Connectors

  • Connections
  • Azure Subscriptions
  • Azure DataFactory
  • JSCAPE Component
  • IBM z/OS
  • Box Connector
  • Sharepoint
  • Informatica
  • Cognos
  • ServiceNow

Inbound REST

  • REST Services
  • API Key

Excel

  • Generic Excel Components

Platform Agent

  • Core Platform Functions

Oracle Data Services

  • Oracle Data Integrator

SAP Data Services

  • BTP Cloud Integration
  • SAP CI DS
  • SAP IBP
  • BusinessObjects
  • SAP SNC

SLA

  • SLA Component Installation
  • SLA Rules
  • SLA Dashboard
  • Advanced Configuration

On-Premises SSO

  • SSO Module

Privileges Required

  • Azure Subscriptions
  • Box Connections
  • Catalog
  • Connections
  • Azure Data Factory
  • Sharepoint
  • Informatica
  • REST Services
  • JSCAPE Connector
  • API Keys
  • Excel
  • ODI Connections
  • Queues
  • CloudIntegration Connections
  • HCI DS Connections
  • IBP Connections
  • SLA
  • ServiceNow
  • z/OS Connections
← Generic Excel ComponentsOracle Data Integrator →

Core Platform Functions

The Core Platform Functions component provides platform-agnostic process definitions to perform file operations on platform agents.

Prerequisites

  • Version 9.2.9
  • At least one platform agent
  • A user with sufficient privileges to perform the file operations on the platform agent
  • Privileges Required to use Core Platform Functions

Contents of the Component

Object TypeNameDEscription
ApplicationGLOBAL.Redwood.REDWOOD.Core_Platform_FunctionsProvides definitions to run core functions on a server (1.0.0.0)
Process DefinitionREDWOOD.Redwood_Core_CopyFileCopy a file on a server
Process DefinitionREDWOOD.Redwood_Core_DeleteFileDelete a file from a server
Process DefinitionREDWOOD.Redwood_Core_DirectoryListingPerform a directory listing on a server
Process DefinitionREDWOOD.Redwood_Core_MoveFileMove or rename a file on a server
LibraryREDWOOD.Redwood_Platform_ExtensionsLibrary for core platform functions

Redwood_Core_CopyFile

Copy a file on a server.

Parameters

NameDescriptionDocumentationDirectionDefault ExpressionValues
sourceDirectorySource DirectoryThe directory containing the file to copyIn

sourceFileSource File NameThe name of the file to copy (wildcards * and ? allowed)In

targetDirectoryTarget DirectoryThe directory to copy the file(s) toIn

targetFileTarget File NameThe new name to give to the file in the destination. If left blank, the original file name will be used (will be ignored when wildcards are used in the Source File Name)In

overwriteOverwrite Target File?Overwrite the file in target location when existingInNY=Yes,N=No
JCS_USERRun As UserThe user under which the command needs to be executedIn

RUNCommandThis runtime parameter is set by the component for the actual command to executeIn

Redwood_Core_DeleteFile

Delete a file from a server.

Parameters

NameDescriptionDocumentationDirectionDefault ExpressionValues
sourceDirectorySource DirectoryThe directory containing the source file to deleteIn

searchPatternSearch PatternThe source file and/or directory name pattern to delete (wildcards * and ? allowed)In

deleteDirectoriesDelete matching sub-directories?Delete matching sub-directories and their contentInNY=Yes,N=No
JCS_USERRun As UserThe user under which the command needs to be executedIn

RUNCommandThis runtime parameter is set by the component for the actual command to executeIn

Redwood_Core_DirectoryListing

Perform a directory listing on a server.

Parameters

NameDescriptionDocumentationDirectionDefault ExpressionValues
sourceDirectorySource DirectoryThe directory to list the files fromIn

sourceFileSource File PatternThe file pattern to match to list on (wildcards * and ? allowed)In

hiddenFilesShow hidden files?When set to Y, hidden files and folders will be included in the results. When set to N, hidden files and folders will not be included in the results.InNY=Yes,N=No
JCS_USERRun As UserThe user under which the command needs to be executedIn

RUNCommandThis runtime parameter is set by the component for the actual command to executeIn

Redwood_Core_MoveFile

Move or rename a file on a server.

Parameters

NameDescriptionDocumentationDirectionDefault ExpressionValues
sourceDirectorySource DirectoryThe directory containing the file to moveIn

sourceFileSource File NameThe name of the file to move (wildcards * and ? allowed)In

targetDirectoryTarget DirectoryThe directory to move the file(s) toIn

targetFileTarget File NameThe new name to give to the file in the destination. If left blank, the original file name will be used (will be ignored when wildcards are used in the Source File Name)In

overwriteOverwrite Target File?Overwrite the file in target location if it already existsInNY=Yes,N=No
JCS_USERRun As UserThe username of the user under which the command needs to be executedIn

RUNCommandThis runtime parameter is set by the component for the actual command to executeIn

Procedure

Moving a File

  1. Navigate to Definitions > Processes, locate Redwood_Core_MoveFile, choose Submit from the context menu.
  2. Fill the Source Directory, Source File Name, Target Directory, and optionally Target File Name parameters.
  3. Choose Submit, if you can see more than one platform agent, you select the appropriate agent queue and choose Submit once more.
  4. Navigate to Monitoring > Processes, locate the process Move or rename a file on a server, if its status is Completed, the operation was successful.

See Also

Catalog

← Generic Excel ComponentsOracle Data Integrator →
  • Prerequisites
  • Contents of the Component
  • Redwood_Core_CopyFile
    • Parameters
  • Redwood_Core_DeleteFile
    • Parameters
  • Redwood_Core_DirectoryListing
    • Parameters
  • Redwood_Core_MoveFile
    • Parameters
  • Procedure
    • Moving a File
  • See Also
Docs
Getting StartedInstallationFinance InstallationConcepts
TroubleshootingArchiving
Learn and Connect
Support Portal
BlogEventsResources
ISO/ IEC 27001 Information Security Management
Automate to be human

2023 All Rights Reserved |

Terms of Service | Policies | Cookies | Glossary | Third-party Software | Contact | Copyright | Impressum |