Using C$FILEINFO with Thin Client

0 Likes

Problem:

Does C$FILEINFO support the @[DISPLAY] syntax to retrieve information from a file residing on the client machine?

Resolution:

This functionality is implemented in version 8.0.0.  Earlier versions do not support the @[DISPLAY] syntax for C$FILEINFO library routine.

For earlier versions there is a workaround involving calls to Windows API functions in MSVCRT.DLL and KERNEL32.DLL to get the desired information.

The attached COBOL programs, TESTIT.CBL and TCFILEINFO.CBL, are an example of how to implement the functionality with Thin Client versions 7.x and earlier.

Please note the sample programs are provided "as is".  They may be freely modified and distributed, but have no warranty of functionality or support.

Attachments:

TESTIT.CBL

Old KB# 2811
Comment List
Anonymous
Related Discussions
Recommended