Compiling the AFTP Application
This section describes procedures for developing and compiling an application for the AFTP API on Microsoft® Windows NT® or Microsoft® Windows® 95, MVS, and VM.
To develop an application that uses the AFTP API on Windows NT or Windows 95
-
Include the AFTPFTP.H header file in your source modules. For consistency with the file naming conventions on other platforms, you can rename this header file to AFTPAPI.H and use this file name for your AFTP include file.
-
Define CM_WINNT when you compile your source code.
To develop an application that uses the AFTP API on MVS
Note This process assumes that all AFTP program files have been successfully installed with the JCL provided for installing AFTP.
-
Include the APPFFTP.H header file in your source modules.
-
Define CM_MVS when you compile your source code.
-
Edit the APPFAPIJ JCL file and make the changes indicated in the prolog comments at the top of the file.
-
Submit the APPFAPIJ JCL.
To access the AFTP API calls from your application using VM
-
Include the APPFFTP.H header file in your source modules.
-
Define CM_VM when you compile your source code.
-
Add APPFAPIL TXTLIB to your GLOBAL TXTLIB statement. All textdecks are packaged into this textlib.