skip to main content

Library Routines : C$OPENSAVEBOX : OPENSAVE-SAVE-BOX-CHECKED

OPENSAVE-SAVE-BOX-CHECKED
The OPENSAVE-SAVE-BOX-CHECKED function opens a "Save as" dialog box. If the user chooses the name of a file that already exists, the dialog box shows a message box asking what to do. The routine returns successfully only if the user provided the name of a file that doesn’t exist or chose to overwrite an existing file.
Syntax:
 CALL "C$OPENSAVEBOX" USING OPENSAVE-SAVE-BOX-CHECKED 
Parameters:
01  opensave-data.
    03 opnsav-filename       pic x(256).
    03 opnsav-flags          pic 9(4comp-x value 0.
    03 opnsav-default-ext    pic x(12).
    03 opnsav-title          pic x(80).
    03 opnsav-filters        pic x(512).
    03 opnsav-default-filter pic 9(4comp-x value 0.
    03 opnsav-default-dir    pic x(128).
    03 opnsav-basename       pic x(128).
Return code:
returnCode can be any signed numeric data item and provides additional information:

Copyright (c) 2017 Veryant
Contact us
Please share your comments on this manual or on any
Veryant product documentation with the email button at the top left