Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Scheduler, Notification, Subject Parameter
Go
New
Search
Notify
Tools
Reply
  
[CLOSED] Scheduler, Notification, Subject Parameter
 Login/Join
 
Platinum Member
posted
Hi,

when I try to use a global Parameter (which contains the Environment I am using) in my Subject, I just get a Mail with the Parameter, but not its Value.

So:
How can I easily differ where my notification Mails are from (Environment)

Thanks,

Jenny

This message has been edited. Last edited by: FP Mod Chuck,


WebFOCUS 8.1.05
Windows, All Outputs
 
Posts: 168 | Registered: October 17, 2017Reply With QuoteReport This Post
Virtuoso
posted Hide Post
Jenny

I successfully tested this in my 8.1.05 environment. I set the global variable &&ENVIRONMENT ie. -SET &&ENVIRONMENT='Test 8105'; in my server profile edasprof.prf and referenced it in the subject in my notification of the schedule and it worked like a charm. If this continues to be an issue please open a case with techsupport so they can debug it.


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
 
Posts: 1427 | Location: Customer Support | Registered: April 12, 2005Reply With QuoteReport This Post
Expert
posted Hide Post
Good one Chuck. I just used this concept.

I am a bit confused. Aren't the RC Jobs set up in a predetermined environment? If so, then the environment in which they are created is known, thus, it can be hard-coded in the subject line.

Or, is this just a Proof of Concept for the use of Global variables in RC?
 
Posts: 2914 | Location: Middle Tennessee [8204M Gen48 in Test&Prod] | Registered: February 23, 2005Reply With QuoteReport This Post
Platinum Member
posted Hide Post
thanks @FP Mod Chuck für trying.

I'm testing in 8204, and my edasprof.prf contains the global variable as well

Can you retest with 8204??

@Doug what do you mean with "envirnment is known", I Need it in a written form somewhere in my Scheduler notification mail, sothat I know where the mail is from.


WebFOCUS 8.1.05
Windows, All Outputs
 
Posts: 168 | Registered: October 17, 2017Reply With QuoteReport This Post
Gold member
posted Hide Post
quote:
Originally posted by jenni:
thanks @FP Mod Chuck für trying.

I'm testing in 8204, and my edasprof.prf contains the global variable as well

Can you retest with 8204??


I am working on 8204 and I was able to replicate what Chuck did. It works prefectly fine in 8204


WF 8.2.04
Windows/Unix
All Formats
In Focus since 2006
 
Posts: 74 | Location: UK | Registered: September 17, 2018Reply With QuoteReport This Post
Member
posted Hide Post
Jenni - Just in case this may be your issue. You can't have -EXIT in the fex that is being scheduled as this will cause the variable in the subject to not resolve.


WebFOCUS 8.2.01M
 
Posts: 9 | Location: Charlotte, NC | Registered: December 19, 2012Reply With QuoteReport This Post
Virtuoso
posted Hide Post
I think Jenni is creating schedules in one environment and using change management to promote them so the variable value will change as it moves to another environment without needing to change a hard coded value.


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
 
Posts: 1427 | Location: Customer Support | Registered: April 12, 2005Reply With QuoteReport This Post
Expert
posted Hide Post
Thanks Chuck, I wasn't thinking about using CM to migrate the RC Jobs. So, with that in mind, It's perfectly clear.
 
Posts: 2914 | Location: Middle Tennessee [8204M Gen48 in Test&Prod] | Registered: February 23, 2005Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Scheduler, Notification, Subject Parameter

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.