z/OS Communications Server: IP Programmer's Guide and Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Application tasks for the INIT request

z/OS Communications Server: IP Programmer's Guide and Reference
SC27-3659-02

This topic describes the steps of issuing the INIT request.

Before you begin

Create an FCAI control block for use by the interface.

Procedure

Perform the following steps to issue the INIT request:

  1. Optional: Specify start parameters for the FTP client.
  2. Optional: Specify a list of environment variables to pass to the FTP client.
  3. Initialize the FCAI.
    1. Clear the entire block to 0.
    2. Set the eyecatcher (or FCAI-Eyecatcher) to FCAI.
    3. Set the size field (or FCAI-Size) to 256 or greater.
    4. Set the version number (or FCAI-Version) to 1.
  4. Set FCAI-ReqTimer to the desired value.
  5. Set FCAI-TraceIt as desired for tracing. A request that initiates the interface trace also uses FCAI-TraceID and FCAI-TraceSClass.
  6. Issue the INIT request.
  7. Check the result of the request.
  8. Check the results from an implicit OPEN, if one was performed.
  9. Optional: Retrieve the FTP client output with GETL.

Results

After the INIT request completes, you can issue a subsequent SCMD or TERM request.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014