Procedure CaseFileSectionGetContentType(url, sectionName, contents)


The procedure CaseFileSectionGetContentType retrieves the subset reference that was used when saving a user section in a case file.

        url,                ! (input) a scalar string expression
        sectionName,        ! (input) a scalar string expression
        contents            ! (output) a scalar element parameter in the
                            !          set AllSubsetsOfAllIdentifiers



A string referencing the url of an existing case file from which you want to retrieve the contents information. This url can point to a file on your local file system, or to a network location.


The name of the user section. Any leading or trailing spaces in the name are ignored, and an empty string is not allowed.


An element parameter in AllSubsetsOfAllIdentifiers. Upon return, it holds the reference to the subset that was used when saving the user section in the case file.

Return Value

The procedure returns 1 on success. If any other error occurs, the procedure returns 0 and CurrentErrorMessage will contain a proper error message.


  • This function is only applicable if the project option Data_Management_style is set to Disk_files_and_folders.

  • If your application is linked to the AIMMS PRO server, the url can also point to a case file stored at the server.