Redwood Documentation

Product Documentation

 

›AS/400 Connector

RunMyJobsPlatform Agents

External Platforms

  • Connecting Redwood Server to External Platforms

Credentials

  • Storing Credentials
  • Credential Protocols

Platform Process Servers

  • On-site Platform Process Servers
  • Cloud Platform Agents
  • Using the Wizard to Create Process Servers
  • Configuring Platform Agents
  • Spool Host Agents
  • The Environment of Platform Agent OS Processes
  • Processing Platform Processes
  • Process Server Services
  • Configuring Agentless Process Servers
  • Automatically Updating Platform Agents
  • Enabling TLS
  • Creating Monitoring Checks
  • Configuring Load Balancing on Platform Agents
  • Platform Agent Registry Entries
  • Monitoring Servers with Platform Process Servers

UNIX Agents

  • UNIX Process Servers
  • UNIX Process Server Configuration Data
  • File Events on UNIX
  • Creating UNIX Process Servers (Advanced)
  • Choosing a User Switching Security Mode
  • Controlling Unix Platform Agents
  • Uninstalling Redwood Server Platform Agents from UNIX

Windows Agents

  • Creating a Microsoft Windows Process Server
  • File Events on Microsoft Windows Process Servers
  • Configuration of a Microsoft Windows Process Server
  • Managed Services
  • Configuring Platform Agents on Microsoft Windows
  • Automating Windows tasks that require a desktop window
  • Uninstalling Redwood Server from Microsoft Windows

Agent Definition Types

  • Using the BASH Definition Type
  • Using the KSH Definition Type
  • Using the CSH Definition Type
  • Using the Perl Definition Type
  • Using the Python Definition Type
  • Using the PowerShell Definition Type
  • Using the Visual Basic Script Definition Type
  • Using the CMD Definition Type
  • Using the R Process Definition Type
  • Using the DCL Definition Type
  • Using Platform Definition Types
  • Using the OS Native Definition Type
  • Microsoft Windows Definition Types
  • Using the SQLPLUS Definition Type
  • Using the FTP Definition Type
  • Using the Groovy Definition Type

Command Line Tools

  • Command Line System Tools
  • jtool
  • jcat
  • jdescription
  • jevent
  • jecho
  • jftp
  • JFTP Return Codes
  • jgetcredential
  • jgetfile
  • jgetpar
  • jjoin
  • jlink
  • jlog
  • jmail
  • jmessage
  • jmonitor
  • jputfile
  • jregister
  • jrfc
  • jscp
  • jtool screenshot
  • jscript
  • jsecret
  • jsleep
  • jsplit
  • api-tool.jar

OpenVMS Process Servers

  • Creating HP OpenVMS Process Servers
  • Installing the Platform Agent on HP OpenVMS
  • Configuring HP OpenVMS Process Servers
  • File Events on HP OpenVMS
  • HP OpenVMS Definition Types

AS/400 Connector

  • IBM AS/400 Connector Architecture
  • Setting up the IBM AS/400 Connector
  • Creating an IBM AS/400 Process Server
  • Files on AS/400 Raise Events
  • Using the AS/400 Definition Type
  • Redwood Server OS Support
  • IBM z/OS Definition Types
  • Using the JCL_FTP Definition Type
  • IBM z/OS System Tools

Reference

  • Balancing the Load
  • Credential Protocols
← Creating an IBM AS/400 Process ServerUsing the AS/400 Definition Type →

Files on AS/400 Raise Events

AS/400 file events are created in the same way as other file events. To check for files that match AS/400 file events, Redwood Server connects to the AS/400 for each file event using the credential matching the AS/400 process server parametersAS400Server and AS400User.

The connector then checks for files according to the directory and pattern specified by the file event. If a file is found it is optionally moved (if this is specified on the file event) and a file event is raised.

There are some differences:

  • AS/400 file events are on the remote AS/400, which does not need an agent present.
  • The AS/400 file system does not work in the same way that a UNIX or Windows file system does. AS/400 systems have a number of different file systems exposed via the IFS.
  • No lock checks are performed on files, you use the Minimum age and Minimum size to specify when a file should raise the event.

Files in the library file system

The library file system provides you with access to database files and all of the other IBM i object types that libraries can contain, see Library file system (QSYS.LIB) for more information.

Files are often located in libraries, and libraries may be located inside either the QSYS or QGPL libraries. If the file you are looking for is in a library, you need to find the full path to the file you are looking for.

You can browse the file system from within Redwood Server or ask the operator. If you do not specify a file member, a SAVF file is assumed; the process server will log an error if you simply specify the path to a file that is not of type SAVF.

On the AS/400, issue the WRKLIB command, and find the library you are looking for, it may be in another library (typically QSYS or QGPL ). Once you have found the library you need to add.LIB to the end of each of the libraries, and separate them with /.

For example, if you are looking for physical file members named P* in file MYFILE.FILE of the USERX.LIB library in QSYS, the file event should be specified as:

Directory: /QSYS.LIB/USERX.LIB/MYFILE.FILE
Pattern: P*

Notes on wildcards:

The following wildcards are supported:

  • * - any number of characters.
  • ? - exactly one character.

You cannot specify wildcards in the library or file part of the path, only on physical file members (after the last / ).

You test your patterns using the

Files in the root (/) file system

Files in this file system behave much like UNIX or Windows files, it has an hierarchical structure that users of these systems will be familiar with.

For example, if you are looking for files named P* in /home/REDWOOD/incoming, the file event should be specified as follows:

Directory: /home/REDWOOD/incoming
Pattern: P*

Notes on wildcards:

The following wildcards are supported:

  • * - any number of characters.
  • ? - exactly one or zero characters.

You cannot specify wildcards on the directory name, only the file name.

Creating Chains to Manage the Deletion of Flag Files

If you cannot use a move directory, you will need to use a chain and process to delete the file that triggers the event. To detect and remove files, create a chain and process definition with a wait event that calls the process that should be submitted when the file arrives. In the second step of this chain, use a process definition that uses the file.delete action to delete the file after it has arrived.

Troubleshooting

The process server will create operator messages each time a check is performed and the file cannot be read (missing authorization, invalid path). An operator message is also created when the move failed.

See Also

  • Creating an IBM AS/400 Process Server
  • IBM AS/400 Connector Architecture
← Creating an IBM AS/400 Process ServerUsing the AS/400 Definition Type →
  • Files in the library file system
  • Files in the root (/) file system
  • Creating Chains to Manage the Deletion of Flag Files
  • Troubleshooting
  • 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 |