INIT

The user program issues the INIT request to initialize the FTP client API. This call is the first call to the interface and is made only one time for each FCAI control block that defines an instance of use of the interface.

Rules:
  • Align the FCAI on at least a fullword boundary.
  • The FCAI must be in primary space (not a dataspace).
  • Initialize the FCAI by performing the steps listed in step 3 in Application tasks for the INIT request.
  • The caller can specify the number of seconds to wait by setting an FCAI_ReqTimer value (or specify that no timer is to be used). See FCAI_ReqTimer: Controlling requests that retrieve results from the created z/OS FTP client process.
  • Before exiting, your application should issue a TERM request for each INIT request.
  • If using the Trace Resolver facility, the trace should be activated by specifying the RESOLVER_TRACE environment variable to collect the trace information in a file or MVS™ dataset.