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.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
ON TABLE SAVE
 Login/Join
 
Platinum Member
posted
HI all, I am trying to save a fex in Hold file and then copy the file from the server to the local client so the user can email the file. But I can't get to work. I copied this code from the forum yet it still isn't working as expected. Any one have an Idea or a better method?
  <br />ON TABLE SAVE AS 'GIBO_OUT' FORMAT ALPHA<br />-SET &CMD = 'XCOPY \\MK400BLD1\wwwroot\Output_Hold\GIBO_OUT.FTM \\mYLOCAL\SAVE\GIBO_TEST.TXT';<br />-SET &RC = SYSTEM(96,'XCOPY \\MK400BLD1\wwwroot\Output_Hold\GIBO_OUT.FTM \\mYLOCAL\SAVE\GIBO_TEST.TXT','I4');<br />-*original syntax<br />-*SET &RC = SYSTEM(&CMD.Length,&CMD,'I4');<br />     
  <br />(FOC36355) INVALID TYPE OF ARGUMENT #3 FOR USER FUNCTION SYSTEM
 
Posts: 157 | Location: Secaucus, NJ | Registered: May 21, 2004Report This Post
Expert
posted Hide Post
what works for me is
CMD COPY &FILE1 &FILE2 /Y
I'm sure you've filedeffed &file1 and it really is where you expect it to be.
XCOPY would seem to be overkill, since you're copying spec to spec, and no directories
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders