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


GET_FCAI_MAP request

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

Format

Read syntax diagramSkip visual syntax diagram
>>-ftpapi--(--stem--,--'get_fcai_map'--,--fcaimap--)-----------><

Purpose

Returns the contents of the full FCAI_Map structure.

Parameters

stem
The name of a stem that represents the FTP client environment. The stem must have been passed on a prior successful INIT function call.
'get_fcai_map'
Requests the return of the full FCAI_Map structure. The string literal is not case sensitive.
fcaimap
The name of the stem where the FCAI_Map structure should be placed. The map elements shown in Table 1 can be returned.
Table 1. FCAI_Map structure elements
Element Description
fcaiMap.FCAI_EyeCatcher Eyecatcher='FCAI'
fcaiMap.FCAI_Size Size of the FCAI=256
fcaiMap.FCAI_Version Version of the FCAI=1
fcaiMap.FCAI_PollWait POLL wait timer in seconds
fcaiMap.FCAI_ReqTimer Request timer in seconds or 0 for none
fcaiMap.FCAI_TraceIt Trace indicator for this request
fcaiMap.FCAI_TraceID ID used in a trace record
fcaiMap.FCAI_TraceCAPI TRACECAPI value on FTP.DATA statement
fcaiMap.FCAI_TraceStatus Status of the trace
fcaiMap.FCAI_TraceSClass SYSOUT class for trace file
fcaiMap.FCAI_TraceName ddname of the trace file
fcaiMap.FCAI_Token Interface token
fcaiMap.FCAI_RequestID Last request processed by the EZAFTPKS program (for example, 'SCMD')
fcaiMap.FCAI_Result Request result
fcaiMap.FCAI_IE Interface error
fcaiMap.FCAI_CEC Client error code (see FTP return codes in z/OS Communications Server: IP User's Guide and Commands)
fcaiMap.FCAI_ReplyCode Server reply code or 0 if no reply (see FTPD reply codes in z/OS Communications Server: IP and SNA Codes)
fcaiMap.FCAI_SCMD Subcommand code (see FTP subcommand codes in z/OS Communications Server: IP User's Guide and Commands)
fcaiMap.FCAI_ReturnCode Return code
fcaiMap.FCAI_ReasonCode Reason code
fcaiMap.FCAI_NumberLines Number of output lines returned by the request
fcaiMap.FCAI_LongestLine Size of the longest line
fcaiMap.FCAI_SizeAll Size of all output lines
fcaiMap.FCAI_SizeMessages Size of all message lines
fcaiMap.FCAI_SizeReplies Size of all reply lines
fcaiMap.FCAI_SizeList Size of all list lines
fcaiMap.FCAI_SizeTrace Size of all trace lines
fcaiMap.FCAI_PID Process ID of FTP client

Results

Table 2. FTP client GET_FCAI_MAP request return codes
Value Return codes Explanation
<0   The call did not complete successfully. The possible failure return codes are listed in the Return codes column.
  -2 (FCAI_RESULT_IE) An interface error occurred. The interface error code is stored in the stem.FCAI_IE stem variable.
  -17 (FCAI_RESULT_UNUSABLESTEM) The stem variable is not usable.
  -19 (FCAI_RESULT_REXXERROR) An error occurred when storing, fetching, or dropping a REXX variable.
>=0   The call completed successfully.
  0 (FCAI_RESULT_OK) No additional information is provided.

Examples

rc=ftpapi('fcai.', 'get_fcai_map', 'fcaiMap.')

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014