Global Variable in 10.1 and 10.2

Post Reply
BariAbdul
Regular Participant
Posts: 424
Joined: Sat Mar 10, 2012 1:03 pm
OLAP Product: IBM TM1, Planning Analytics, P
Version: PAW 2.0.8
Excel Version: 2019

Global Variable in 10.1 and 10.2

Post by BariAbdul »

I have went through long ago a query regarding global variable and Steve's interesting observations/reservations regarding debugging.Here,In our model global variables has been used quite generously,Is any enhancements in 10.1 and 10.2.
Appreciate your valuable inputs.Thanks :D

http://www.tm1forum.com/viewtopic.php?f ... ble#p43445
"You Never Fail Until You Stop Trying......"
Alan Kirk
Site Admin
Posts: 6667
Joined: Sun May 11, 2008 2:30 am
OLAP Product: TM1
Version: PA2.0.9.18 Classic NO PAW!
Excel Version: 2013 and Office 365
Location: Sydney, Australia
Contact:

Re: Global Variable in 10.1 and 10.2

Post by Alan Kirk »

BariAbdul wrote:I have went through long ago a query regarding global variable and Steve's interesting observations/reservations regarding debugging.Here,In our model global variables has been used quite generously,Is any enhancements in 10.1 and 10.2.
Appreciate your valuable inputs.Thanks :D

http://www.tm1forum.com/viewtopic.php?f ... ble#p43445
No, they're exactly the same in the 10 series as they were in 9.5 as best I'm aware. I've only just started to incorporate them into my new code standards but would have done so years ago had we not been on 9.0 32 bit for so long. I didn't consciously recall Steve's post but we always have a "Start" process which takes care of all initialisation including (now) global variables and the standards specify what the commonly used ones should be named in all chores and processes so the issue that Steve raised is less of a one for us. They haven't completely replaced but rather supplement the control cube approach. One of the main things that I'm using them for is as de facto "By Ref" variables which allows me to pass error states and descriptions back from library processes to calling processes. However the way it's designed the call stack is always kept shallow so that I've yet to encounter this problem.

What exactly is it that you want enhanced about them?
"To them, equipment failure is terrifying. To me, it’s 'Tuesday.' "
-----------
Before posting, please check the documentation, the FAQ, the Search function and FOR THE LOVE OF GLUB the Request Guidelines.
BariAbdul
Regular Participant
Posts: 424
Joined: Sat Mar 10, 2012 1:03 pm
OLAP Product: IBM TM1, Planning Analytics, P
Version: PAW 2.0.8
Excel Version: 2019

Re: Global Variable in 10.1 and 10.2

Post by BariAbdul »

Thanks Alan,I just wanted to know its behavior in 10.1 and 10.2 perspective.
"You Never Fail Until You Stop Trying......"
Post Reply