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.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     is there system varible for Scheduleid , packetid or taskid ?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
is there system varible for Scheduleid , packetid or taskid ?
 Login/Join
 
Member
posted
Hi , all

I am trying to update ASVALUE column in BOTTASK webfocus table before the job is being executed
so I was looking if there is any system varible for Scheduleid , packetid or taskid ? so that I can use it and update the table
 
Posts: 13 | Registered: March 06, 2012Report This Post
Master
posted Hide Post
Are you trying to dynamically update the name of the file being sent to be unique (say, with a date)?

I think that the way RC works, these values are already read into memory when the task executes and therefore are "locked in" by the time you want to update them.

EDAMAIL is another way to send mail from FEX and can handle many dynamic attributes. See the thread discussions on it.

- ABT


------------------------------------
WF Environment:
------------------------------------
Server/Client, ReportCaster, Dev Studio: 7.6.11
Resource Analyzer, Resource Governor, Library, Maintain, InfoAssist
OS: Windows Server 2003
Application/Web Server: Tomcat 5.5.25
Java: JDK 1.6.0_03
Authentication: LDAP, MRREALM Driver
Output: PDF, EXL2K, HTM

------------------------------------
Databases:
------------------------------------
Oracle 10g
DB2 (AS/400)
MSSQL Server 2005
Access/FoxPro
 
Posts: 561 | Registered: February 03, 2010Report This Post
Master
posted Hide Post
check out this article: http://www.google.com/url?sa=t...TPIM4SmHCO9Q&cad=rja

it explains creating a ReportCaster job via a fex. maybe this will help you.

-ABT


------------------------------------
WF Environment:
------------------------------------
Server/Client, ReportCaster, Dev Studio: 7.6.11
Resource Analyzer, Resource Governor, Library, Maintain, InfoAssist
OS: Windows Server 2003
Application/Web Server: Tomcat 5.5.25
Java: JDK 1.6.0_03
Authentication: LDAP, MRREALM Driver
Output: PDF, EXL2K, HTM

------------------------------------
Databases:
------------------------------------
Oracle 10g
DB2 (AS/400)
MSSQL Server 2005
Access/FoxPro
 
Posts: 561 | Registered: February 03, 2010Report This Post
Member
posted Hide Post
Hi ABT

yeah trying to dynamically update the name of the file being sent to be unique with a date

But what I read is that there is option in the Report caster scheduler where you can select pre processing procedure when you click the advanced procedure , so that I can update the name of the file before actual procedure is executed before even the file name brought in to memory

But I found those variables
&DSTSCHEDID
&DSTPACKETID
&DSTTASKID

but the problem is when use these system variable I am getting some error in the pre processing procedure it self the error is

A VALUE IS MISSING FOR: &DSTSCHEDID
BTP1020 A VALUE IS MISSING FOR: &DSTPACKETID

my question is why WF is not recognizing system varaibles


WebFOCUS 7.6
Windows, All Outputs
 
Posts: 13 | Registered: March 06, 2012Report This Post
Master
posted Hide Post
can you post your code? and are you running this test in ReportCaster or as a standalone fex in MRE?


------------------------------------
WF Environment:
------------------------------------
Server/Client, ReportCaster, Dev Studio: 7.6.11
Resource Analyzer, Resource Governor, Library, Maintain, InfoAssist
OS: Windows Server 2003
Application/Web Server: Tomcat 5.5.25
Java: JDK 1.6.0_03
Authentication: LDAP, MRREALM Driver
Output: PDF, EXL2K, HTM

------------------------------------
Databases:
------------------------------------
Oracle 10g
DB2 (AS/400)
MSSQL Server 2005
Access/FoxPro
 
Posts: 561 | Registered: February 03, 2010Report This Post
Member
posted Hide Post
Thank you for your reply

No I am running this in report caster as pre proc fex , orginal task is another report whose file name should be updated



-DEFAULT &vRcScheduleId = '&DSTSCHEDID.EVAL';
-DEFAULT &vPacketID = '&DSTPACKETID.EVAL;
-DEFAULT &vTaskID = '&DSTTASKID.EVAL';


ENGINE SQLMSS SET DEFAULT_CONNECTION con

ENGINE SQLMSS SET PASSRECS ON


SQL SQLMSS


update [WebFocus].[dbo].[BOTTASK]
set [ASVALUE] = 'something..'


WHERE TASKID = '&vTaskID.EVAL' and packetid = '&vPacketID.EVAL'

END

-RUN

This message has been edited. Last edited by: FOCUS393,


WebFOCUS 7.6
Windows, All Outputs
 
Posts: 13 | Registered: March 06, 2012Report 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     is there system varible for Scheduleid , packetid or taskid ?

Copyright © 1996-2020 Information Builders