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     Updating the BOTTASK (ASVALUE)

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Updating the BOTTASK (ASVALUE)
 Login/Join
 
Silver Member
posted
I am needing to update this field in this table
BOTTASK - field ASVALUE - with example ( Adj_0129 ).

ENGINE DB2 SET DEFAULT_CONNECTION DB2T
-SET &DATE01 = AYMD(&YYMD, +0,'I8YYMD');
-SET &Date02 = EDIT(&DATE01, '$$$$9999');
-SET &T_ASVALUE = 'Adj_' | &Date02 | '.xls';
-*******************************************
SQL DB2 PREPARE SQLOUT FOR
UPDATE BOTTASK
SET ASVALUE = 'Adj_0129.xls'
WHERE TASKID EQ 'T127j5rvdr01';
END

It does not give many error so then I do a print on the
record and it has not changed...

TABLE FILE BOTTASK
PRINT
TASKID
ASVALUE
WHERE TASKID EQ 'T127j5rvdr01';

Is there something I am missing?


Don R

This message has been edited. Last edited by: Don Robison,
 
Posts: 31 | Location: The Hertz Corp(Oklahoma City) | Registered: March 30, 2007Report This Post
Guru
posted Hide Post
Don, a shot in the dark... maybe your webfocus user is not authorized for update on the db?


WF 8.1.05 Windows
 
Posts: 333 | Location: Orlando, FL | Registered: October 17, 2006Report This Post
Silver Member
posted Hide Post
We figured it out.

SET SQLENGINE=DB2
SQL DB2 END SESSION;
SQL DB2 SET SERVER DB2T;
-SET &DATE01 = AYMD(&YYMD, +0,'I8YYMD');
-SET &Date02 = EDIT(&DATE01, '$$$$9999');
-SET &T_ASVALUE = 'Adj_' | &Date02 | '.xls';
-*******************************************
SQL DB2
UPDATE BOTTASK
SET ASVALUE = '&T_ASVALUE'
WHERE TASKID = 'T127j5rvdr01';
END
-RUN


WebFOCUS 7.6.11 HF 6 Client Reporting Server/Caster
7.6.11 PDS Server on MVS DB2
1.46R Tandem
7.6.11 IWAY SQL Server 2000
Access
 
Posts: 40 | Location: OKC | Registered: January 10, 2005Report This Post
Gold member
posted Hide Post
I know you got it solved, but.....

how about using modify?
substitute your values in the

MODIFY FILE BOTTASK
FREEFORM TASKID PACKETID ASVALUE
MATCH TASKID PACKETID
ON MATCH UPDATE ASVALUE
ON NOMATCH REJECT
DATA
,,,$
END


WebFocus 7x, 8x, Win / Linux, any output format
 
Posts: 70 | Location: reading, pa | Registered: April 07, 2007Report 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     Updating the BOTTASK (ASVALUE)

Copyright © 1996-2020 Information Builders