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.
Hi, I'm using FOCUS 7.2.0S1 on a MVS-system and I want to supply some &&variables in a batch-job. Unfortunately -SET &&var1 = 'abc' does not work. This is the error message which the batch-job produces: UNKNOWN FOCUS COMMAND -SET (INF32074) BYPASSING TO END OF COMMAND How can I provide these variables? Thanks for any hints! Stahl
We use -SET commands in batch all the time, it should work fine. Is it a problem with the line before the -SET command ? I notice you used -SET &var1 = 'abc' with no semi colon at the end .... is the semi colon missing on the line above? I suspect its something before the -SET that is causing the problem, otherwise you have a nice bug.
Ahhh now I see. You need to put your commands in a FOCEXEC procedure. Remember with an MVS batch job you don't have a TSO session as such. That is why TSO ALLOC commands don't work in batch either but they do in an online session. In batch jobs you need DYNAM... or allocate in your JCL (our standard here). DM commands will work in batch but only if executed from within a FOCEXEC.