FSVIEW calls make extensive use of the FSVIEW datablock. Add the following data definitions to the datablock in your FSVIEW calls:
*Server Information
fsvw-server-name pic x(20).
fsvw-server-startup pic x(20).
fsvw-server-usage pic x(4).
fsvw-trace-on pic x comp-x.
*Log file Information
fsvw-log-filename pic x(255).
fsvw-timings-table redefines fsvw-log-filename
fsvw-timing-fs Reserved
fsvw-timing-receiveall Reserved
fsvw-timing-query Reserved
fsvw-timing-comms-other Reserved
fsvw-timing-fh Reserved
fsvw-timing-io-cnt pic x(4) comp-x.
fsvw-log-filename-size pic x(2) comp-x.
fsvw-log-filesize pic x(16).
fsvw-disk-space pic x(16).
fsvw-disk-size pic x(16).
*Database Information
fsvw-dbase-filename-size pic x(2) comp-x.
fsvw-dbase-filesize pic x(16).
*Various flags
fsvw-exit-flg pic 9.
fsvw-exit-flg-true value 1.
fsvw-function pic 9(2).
fsvw-status-key-1 pic x(2) comp-x.
fsvw-status-key-2 pic x(2) comp-x.
fsvw-date-format pic x.
fsvw-fsview-user-id pic x(5).
*Windows show flags
fsvw-log-win-flg Reserved
fsvw-log-win-flg-true Reserved
fsvw-dbase-win-flg Reserved
fsvw-dbase-win-flg-true Reserved
fsvw-user-win-flg Reserved
fsvw-user-win-flg-true Reserved
fsvw-user-file-win-flg Reserved
fsvw-user-file-win-flg-true Reserved
fsvw-file-info-win-flg Reserved
fsvw-file-info-win-flg-true Reserved
fsvw-file-user-win-flg Reserved
fsvw-file-user-win-flg-true Reserved
fsvw-comms-win-flg Reserved
fsvw-comms-win-flg-true Reserved
fsvw-password-win-flg Reserved
fsvw-password-win-flg-true Reserved
fsvw-change-srvr-win-flg Reserved
fsvw-change-srvr-win-flg-true Reserved
fsvw-logid-needed-flg Reserved
fsvw-logid-needed-flg-true Reserved
fsvw-comms-too-small-flg Reserved
fsvw-comms-too-small-flg-true Reserved
*
fsvw-insert-list-box
fsvw-insert-list-box-item occurs 10.
fsvw-list-box-data pic x(255).
*User details
fsvw-number-of-users pic 9(5).
fsvw-peak-number-of-users pic 9(5).
fsvw-logoff-id pic x(5).
fsvw-file-list-user-id pic x(5).
fsvw-extracted-user-id pic x(5).
*
fsvw-number-files-open pic 9(10).
fsvw-peak-files-open pic 9(10).
*Various fs state flags
fsvw-user-not-found-flg Reserved
fsvw-user-not-found-flg-true Reserved
fsvw-invalid-password-flg Reserved
fsvw-invalid-password-flg-true Reserved
fsvw-file-not-found-flg Reserved
fsvw-file-not-found-flg-true Reserved
fsvw-no-server-flg Reserved
fsvw-no-server-flg-true Reserved
fsvw-shutdown-already-flg Reserved
fsvw-shutdown-already-flg-true Reserved
fsvw-rename-error-flg Reserved
fsvw-rename-error-flg-true Reserved
fsvw-rename-clash Reserved
fsvw-rename-clash-true Reserved
*
fsvw-comms-module-line2 pic x(42).
fsvw-comms-module-line1 pic x(42).
fsvw-send-failures pic 9(10).
fsvw-comms-busy pic 9(10).
fsvw-comms-timeouts pic 9(10).
*Miscellaneous
fsvw-filename Reserved
fsvw-start-pt Reserved
fsvw-user-tbl-z Reserved
fsvw-server-error-flg Reserved
fsvw-server-error-flg-true Reserved
*Password check data
fsvw-supervisor-mode pic 9.
fsvw-supervisor-mode-true value 1.
fsvw-password pic x(20).
fsvw-title pic x(255).
fsvw-help-topic pic 9(2).
fsvw-user-id pic x(20).
fsvw-user-password pic x(20).
fsvw-version pic x(8).
This data definition copybook file (fsdatab.cpy) can be found in %ProgramFiles(x86)%\Micro Focus\Enterprise Developer\cpylib (Windows) or $COBDIR/copylib (UNIX).