Skip to main content

developerWorks >  Information Management  >  Forums  >  Cognos TM1 (Applix)  >  developerWorks

Recently Executed Process Name    Point your RSS reader here for a feed of the latest messages in this thread


     

 
 

My developerWorks
 Welcome, Guest
Sign in or register
This question is answered.

Permlink Replies: 2 - Pages: 1 - Last Post: Nov 12, 2009 6:28 PM Last Post By: Rizwan.Kaif Threads: [ Previous | Next ]
ExApplix

Posts: 6
Registered: Apr 21, 2009 05:20:40 PM
Recently Executed Process Name
Posted: Nov 06, 2009 04:40:08 PM
 
Click to report abuse...   Click to reply to this thread Reply
Hi,

I know we can get the ProcessReturnCode by using
NumericGlobalVariable( 'ProcessReturnCode');


But I want to get the name of the most recently executed TurboIntegrator process. How can I do that?

Please help.

Thanks in advance.
some_tm1_guy

Posts: 75
Registered: Mar 20, 2009 03:21:36 AM
Re: Recently Executed Process Name
Posted: Nov 08, 2009 08:46:32 PM   in response to: ExApplix in response to: ExApplix's post
 
Click to report abuse...   Click to reply to this thread Reply
The best way I know of to do this is to create a "process logging" cube and by inserting a few lines of code on the epilog of each process have each process write to the logging cube.
Rizwan.Kaif

Posts: 12
Registered: Mar 09, 2009 11:41:02 PM
Re: Recently Executed Process Name
Posted: Nov 12, 2009 06:28:06 PM   in response to: ExApplix in response to: ExApplix's post
 
Click to report abuse...   Click to reply to this thread Reply
You need to use the Global Variables. The syntax for the Global Variable is:

NumericGlobalVariable('VariableName'); Use this function to declare a numeric global variable.
StringGlobalVariable('VariableName'); Use this function to define a string global variable.


The global variables are available to all other processes that are part of the chore. For example you have 2 process, Process A and Process B. Where Process B is calling Process A within its code. In this case these process will have following code:
*PROCESS A:*
StringGlobalVariable( 'MyProcessName');
MyProcessName='loadMyCube';
*PROCESS B:*
StringGlobalVariable( 'MyProcessName');


Then in the Process B you can use the variable MyProcessName in any way you like, as it will have the value loadMyCube stored in it.
 Tags
Help

Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular type of content or application that you're viewing.

My tags shows your tags for this particular type of content or application that you're viewing.

 

MoreLess 


Point your RSS reader here for a feed of the latest messages in all forums