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.
New TIBCO Community Coming Soon
In early summer, TIBCO plans to launch a new community—with a new user experience, enhanced search, and expanded capabilities for member engagement with answers and discussions! In advance of that, the current myibi community will be retired on April 30. We will continue to provide updates here on both the retirement of myibi and the new community launch.
What You Need to Know about Our New Community
We value the wealth of knowledge and engagement shared by community members and hope the new community will continue cultivating networking, knowledge sharing, and discussion.
During the transition period, from April 20th until the new community is launched this summer, myibi users should access the TIBCO WebFOCUS page to engage.
I am trying to split a long line of code that copies lots of small files into one but I seem to have to put the statement all on one line. ie. COPY /A FILE1.TXT + /A FILE2.TXT + /A FILE3.TXT + /A FILE4.TXT + /A FILE5.TXT DESTFILE6.TXT
I can't seem to do this however:- COPY /A FILE1.TXT + /A FILE2.TXT + /A FILE3.TXT + /A FILE4.TXT + /A FILE5.TXT DESTFILE6.TXT
I get unrecognized command errors. Any suggestions as to how you split a long line ?This message has been edited. Last edited by: FP Mod Chuck,
_______________________ *** WebFOCUS 8.1.05M ***
Posts: 196 | Location: London, UK | Registered: December 06, 2005
-*-*From my understanding, You looking something like this.
-*-*-*-*This is for PDF
TABLE FILE CAR
COMPUTE COL/A100='[b]Hello, Good morning.[/b]'|'^'|'HELLO';
COMPUTE COL/A100='[b]Cap Cash[/b]';
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
-*-*-*-*This is for HTML
TABLE FILE CAR
COMPUTE COL/A100='[b]]Hello, Good morning.[/b]'|'<BR>'|'HELLO';
-*COMPUTE COL/A100='[b]Cap Cash[/b]';
-*ON TABLE HOLD AS HOLD_COL_3 FORMAT ALPHA
The SYSTEM function allows you to run a system command but, unlike using the normal ! or CMD etc., it assigns the return code from the system command to a variable so that you can check it before continuing.
So, in effect, using SYSTEM waits for the system command to finish before continuing whereas using !, CMD etc. does not.
It is also easier (IMHO) to keep a long system command complete and within a single variable.
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004