Menu

%GTM-E-REC2BIG

Developers
2009-05-12
2012-12-29
  • Sean Connelly

    Sean Connelly - 2009-05-12

    How can I accurately determine the limit of data that can be stored in a global?

    A string of 238 characters will fit into a limit of 256 with a single key of 2 digits but not for 3 digits.

    I assume that the extra 18/19 characters being used can be calculated?

    Regards,
    Sean Connelly.

     
    • Sean Connelly

      Sean Connelly - 2009-05-12

      Also, what's the best way to programmatically determine the max record length of a given global?

      Sean.

       
    • Alexander Veliev

      Hi, Sean!
      Use GT.M GDE utility for the difining and changing of the characteristics of the used database.
      Read about this utility and the size limitations in GT.M Admin's GDE Guide manual for GT.M and in little important notes and 2 important examples on my site http://cgi2m.net.ua (article HOWTO  - direct link http://cgi2m.net.ua/cgiway.html\). If You need the longer key and data size, You would pack the key and data with the system archiver and GT.M PIPE device.

      Regards,
      Alexander.

       

Log in to post a comment.