Is there a class method or command to view the globals in .gof files? and how to extract the specific global within gof files

64 views Asked by At

I want to get one global within .gof files, such as there is a file named export.gof(contains ^a,^b,^c),but i just want to get ^b, so how could i get that specific global with a command or classmethod. thank you!

1

There are 1 answers

0
DAiMor On

Class %Global has method Import with GlobalList as the second argument, so, you can choose which globals to import or all. But, unfortunately, this argument ignored for GOF files. So, looks like, the only way is to import to another namespace or database (CACHETEMP for example), and merge particular global to the desired destination.