Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at myibi@ibi.com and provide your corporate email address, company, and name.


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

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[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: 177 | Registered: October 17, 2017Report 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: 2128 | Location: Customer Support | Registered: April 12, 2005Report 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: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report 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: 177 | Registered: October 17, 2017Report 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, 2018Report 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: 12 | Location: Charlotte, NC | Registered: December 19, 2012Report 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: 2128 | Location: Customer Support | Registered: April 12, 2005Report 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: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

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

Copyright © 1996-2020 Information Builders