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.
DOS Xcopy &BACK_SOURCE1.EVAL &BACK_DEST1.EVAL /d:&BACK_DATE.EVAL /q /i /s /y
I can test the execution of this command via the &IORETURN DM variable. Is there any other feedback I can capture, for instance, the number of files copied by the Xcopy command?
Thanks,
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
What I'd try : 1) Redirect the Dos Messages to a File ( Redirect is ">Dos filename" if I remember 2) With DM, take profit of the file In any case) Beware of synchronising Tools that live in different Time-Spaces Focusly yours
Focus Mainframe 7.6.11 Dev Studio 7.6.11 and !!! PC Focus, Focus for OS/2, FFW Six, MSO
Well, i'm living in a different Space time, too ! Happy to see that I was not hundred miles out of the solution (And Thank you for the correct Word : PIPE) Sorry that I arrive when the war is over (a French habit ?) Could the Focus Community unify the World time so that everybody runs with the same chance Focusly (and next time, it'll be seriously)
Focus Mainframe 7.6.11 Dev Studio 7.6.11 and !!! PC Focus, Focus for OS/2, FFW Six, MSO
You are most welcome! I do this stuff in Unix-land all the time, doing reports on directory listings etc.
B,
You are sooo funny. My ancestors are from France (Normandy). Actually 'pipe' is the Unix term for taking output of one command and using it as input to another. The symbol is the vertical bar (|), hence the name pipe. Maybe the more correct term is redirect for the >.
Giny, Bail - you are right on the mark(s). You can pipe, reroute, redirect to a file and do a -read against this file. and route accordingly with your results. c'est la vie
cos copy abc.mas xyz.mas > testfile.dat filedef against it if need be and -read against the vars.
And, if the file has multiple lines, you can define a LINE80 master, do GETOKs and SUBSTRs etc., i.e. parse the snot out out it, and do reports. Do it all the time.