Delivered templates for z/OS

This topic lists the Axway Transfer CFT API templates that are delivered for the z/OS platform. You may decide to use the delivered samples as a basis for integrating APIs, or as a model to create your own. Templates include samples in:

Assembler language

C language

COBOL language

The Transfer CFT z/OS templates are located in the installed Transfer CFT distribution library.

Assembler language

In the Template column, click the template link to view the sample template as a text file.

Template Function

Services

AAPIDLL

cftai - cftac - cftinit COM - SEND - OPEN - CLOSE - (SELECT - NEXT) or (SELECT240 - NEXT240)

AXPIDLL

cftaix - cftac - cftinit COM - SEND - OPEN - CLOSE - DO - SELECT (NEXT or NEXT240)

C language

In the Template column, click the template link to view the sample template as a text file.

Template Function

Services

Description

CAPI2A

ipcai2_*
  • ipcai2_initialize-ipcai2_catalog_open-ipcai2_catalog_selection_new
  • ipcai2_catalog_selection_set
  • ipcai2_catalog_selection_sortby
  • ipcai2_catalog_selection_skip
  • ipcai2_catalog_selection_next
  • ipcai2_catalog_record_get
  • ipcai2_catalog_info_get
  • ipcai2_catalog_selection_delete
  • ipcai2_catalog_close-ipcai2_finalize-
  • ipcai2_get_errno_str
Transfer CFT catalog API sample program, listing all catalog content.

CAPI2B

ipcai2_*
  • ipcai2_initialize
  • ipcai2_catalog_open
  • ipcai2_catalog_selection_new
  • ipcai2_catalog_selection_set
  • ipcai2_catalog_selection_sortby
  • ipcai2_catalog_selection_skip
  • ipcai2_catalog_selection_next
  • ipcai2_catalog_record_get
  • ipcai2_catalog_info_get
  • ipcai2_catalog_selection_delete
  • ipcai2_catalog_close
  • ipcai2_finalize
  • ipcai2_get_errno_str
Transfer CFT catalog API sample program, which changes all Terminated transfers to Ended.

CAPIC

cftai - cftac - cftau OPEN- SELECT - NEXT - MODIFY - CLOSE - SEND -RECV - HALT - START - DELETE C Sample for Transfer CFT API.

CAPISYN

cftau COM - SEND - GETXINFO - SWAITCAT Transfer CFT communication sample program using Synchronous Communication media (multiple send commands are possible).

CAPIW

cftai - cftau SEND - OPEN - CLOSE - (SELECT - NEXT) or (SELECT240 - NEXT240) Perform a SEND request with an IDA and wait for the transfer to end (completed) until the timer expires or the transfer is aborted.

CAPIX

cftaix OPEN - CLOSE - SELECT (NEXT - NEXT240) - SORT - DO - COUNT A C language template for a catalog list with selection and sorting.

COBOL language

In the Template column, click the template link to view the sample template as a text file.

Template Function

Services

Description

OAPI2A

ipcai2_*
  • ipcai2_initialize
  • ipcai2_catalog_open
  • ipcai2_catalog_selection_new
  • ipcai2_catalog_selection_set
  • ipcai2_catalog_selection_sortby
  • ipcai2_catalog_selection_skip
  • ipcai2_catalog_selection_next
  • ipcai2_catalog_record_get
  • ipcai2_catalog_info_get
  • ipcai2_catalog_selection_delete
  • ipcai2_catalog_close
  • ipcai2_finalize
  • ipcai2_get_errno_str
Transfer CFT catalog API template program, which lists all catalog content.

OAPI2AS

ipcai2_*
  • ipcai2_initialize
  • ipcai2_catalog_open
  • ipcai2_catalog_selection_new
  • ipcai2_catalog_selection_set
  • ipcai2_catalog_selection_sortby
  • ipcai2_catalog_selection_skip
  • ipcai2_catalog_selection_next
  • ipcai2_catalog_record_get
  • ipcai2_catalog_info_get
  • ipcai2_catalog_selection_delete
  • ipcai2_catalog_close
  • ipcai2_finalize
  • ipcai2_get_errno_str
Transfer CFT catalog API template program, which lists all of the catalog content.

OAPI2B

ipcai2_*
  • ipcai2_initialize-
  • ipcai2_catalog_open
  • ipcai2_catalog_selection_new
  • ipcai2_catalog_selection_set
  • ipcai2_catalog_selection_sortby
  • ipcai2_catalog_selection_skip
  • ipcai2_catalog_selection_next
  • ipcai2_catalog_record_get
  • ipcai2_catalog_info_get
  • ipcai2_catalog_selection_delete
  • ipcai2_catalog_close
  • ipcai2_finalize
  • ipcai2_get_errno_str
Transfer CFT catalog API template program, which changes all successful transfers to a completed state.

OAPI2BS

ipcai2_*
  • ipcai2_initialize
  • ipcai2_catalog_open
  • ipcai2_catalog_selection_new
  • ipcai2_catalog_selection_set
  • ipcai2_catalog_selection_sortby
  • ipcai2_catalog_selection_skip
  • ipcai2_catalog_selection_next
  • ipcai2_catalog_record_get-
  • ipcai2_catalog_info_get-
  • ipcai2_catalog_selection_delete-
  • ipcai2_catalog_close-
  • ipcai2_finalize-
  • ipcai2_get_errno_str
Transfer CFT catalog API template program, which changes all successful transfers to the completed state.

OAPIC

CFTC SEND -RECV - HALT - START - DELETE

Issue Transfer CFT commands.

OAPICS

CFTC SEND -RECV - HALT - START - DELETE Issue Transfer CFT commands

OAPII

CFTI OPEN - CLOSE - (SELECT - NEXT) or (SELECT240 - NEXT240)

List the Transfer CFT catalog.

OAPIIS

CFTI OPEN - CLOSE - (SELECT - NEXT) or (SELECT240 - NEXT240) List the Transfer CFT catalog.

OAPISYN

cftau COM - SEND - GETXINFO - SWAITCAT Transfer CFT communication sample program using the synchronous communication media, where multiple SEND commands are possible.

OAPIW

CFTI - CFTU SEND, OPEN, CLOSE , (SELECT - NEXT), or (SELECT240 - NEXT240) Perform a SEND request with an IDA and wait for the transfer to complete successfully, reach the time out, or abort the transfer.

OAPIWS

CFTI - CFTU SEND - OPEN - CLOSE - (SELECT - NEXT) or (SELECT240 - NEXT240) Perform a SEND request with an IDA and wait for the transfer to complete successfully, reach the time out, or abort the transfer.

 

Template Function

Services

OAPI2A

ipcai2_*
  • ipcai2_initialize
  • ipcai2_catalog_open
  • ipcai2_catalog_selection_new
  • ipcai2_catalog_selection_set
  • ipcai2_catalog_selection_sortby
  • ipcai2_catalog_selection_skip
  • ipcai2_catalog_selection_next
  • ipcai2_catalog_record_get
  • ipcai2_catalog_info_get
  • ipcai2_catalog_selection_delete
  • ipcai2_catalog_close
  • ipcai2_finalize
  • ipcai2_get_errno_str

OAPI2AS

ipcai2_*
  • ipcai2_initialize
  • ipcai2_catalog_open
  • ipcai2_catalog_selection_new
  • ipcai2_catalog_selection_set
  • ipcai2_catalog_selection_sortby
  • ipcai2_catalog_selection_skip
  • ipcai2_catalog_selection_next
  • ipcai2_catalog_record_get
  • ipcai2_catalog_info_get
  • ipcai2_catalog_selection_delete
  • ipcai2_catalog_close
  • ipcai2_finalize
  • ipcai2_get_errno_str

OAPI2B

ipcai2_*
  • ipcai2_initialize-
  • ipcai2_catalog_open
  • ipcai2_catalog_selection_new
  • ipcai2_catalog_selection_set
  • ipcai2_catalog_selection_sortby
  • ipcai2_catalog_selection_skip
  • ipcai2_catalog_selection_next
  • ipcai2_catalog_record_get
  • ipcai2_catalog_info_get
  • ipcai2_catalog_selection_delete
  • ipcai2_catalog_close
  • ipcai2_finalize
  • ipcai2_get_errno_str

OAPI2BS

ipcai2_*
  • ipcai2_initialize
  • ipcai2_catalog_open
  • ipcai2_catalog_selection_new
  • ipcai2_catalog_selection_set
  • ipcai2_catalog_selection_sortby
  • ipcai2_catalog_selection_skip
  • ipcai2_catalog_selection_next
  • ipcai2_catalog_record_get-
  • ipcai2_catalog_info_get-
  • ipcai2_catalog_selection_delete-
  • ipcai2_catalog_close-
  • ipcai2_finalize-
  • ipcai2_get_errno_str

OAPIC

CFTC SEND -RECV - HALT - START - DELETE

OAPICS

CFTC SEND -RECV - HALT - START - DELETE

OAPII

CFTI OPEN - CLOSE - (SELECT - NEXT) or (SELECT240 - NEXT240)

OAPIIS

CFTI OPEN - CLOSE - (SELECT - NEXT) or (SELECT240 - NEXT240)

OAPISYN

cftau COM - SEND - GETXINFO - SWAITCAT

OAPIW

CFTI - CFTU SEND, OPEN, CLOSE , (SELECT - NEXT), or (SELECT240 - NEXT240)

OAPIWS

CFTI - CFTU SEND - OPEN - CLOSE - (SELECT - NEXT) or (SELECT240 - NEXT240)

Related Links