Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

COBOL macros for openFT (BS2000)

The functions of openFT (BS2000) can be used via the following COBOL macros:

COBOL macro

Function

Command

CALL "NCANCEL"

cancel file transfer request

CANCEL-FILE-TRANSFER

CALL "NCOPY"

transfer file

TRANSFER-FILE

CALL "NDEL"

delete remote file

DELETE-REMOTE-FILE

CALL "NLMOD"

modify local FT file attributes

MODIFY-FILE-FT-ATTRIBUTES

CALL "NLSHOW"

display local FT file attributes

SHOW-FILE-FT-ATTRIBUTES

CALL "NMOD"

modify remote file attributes

MODIFY-REMOTE-FILE-ATTRIBUTES

CALL "NSHOW"

display remote file attributes

SHOW-REMOTE-FILE-ATTRIBUTES

CALL "NSTAT"

query file transfer status

SHOW-FILE-TRANSFER

For programs containing calls to openFT (BS2000), the module YNDCOBOL must be either explicitly connected or connected via the AUTOLINK function of the linkage editor. The module YNDCOBOL is in the library $SYSFJAM.SYSRTC.FT.

At the execution time of the program, the module YNDCOBOL is loaded from the library $SYSFJAM.SYSRTC.FT.

The COPY elements are in the library SYSLIB.OPENFT.121 under the user ID set by the BS2000 system administrator.

In openFT V9.0 for BS2000, file and link names have been changed. Therefore, you must uninstall the older version of openFT before switching to a version of openFT earlier than V9.0, otherwise the YNDCOBOL module of the older version might be used. If you are not installing with IMON, you must, for reasons of compatibility, copy the SYSRTC.OPENFT.121 file under the name SYSRTC.FT on the configuration user ID of the openFT instance (standard $SYSFJAM).