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     Unintended Code Translation Errors

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Unintended Code Translation Errors
 Login/Join
 
Member
posted
We have FOCUS on our mainframe for many years now. About 2 wks ago focus code executed under TSO would translate the backslash "\" to a ":" causing code & filepath errors. The same code executed thru a batch program would not experience this and execute correctly. For example:
source: " T_PRM_FLG_2 /A61 = GETTOK(T_PRM_FLG_1,61,2,'\',61,'A61') ; "
run in TSO: " T_PRM_FLG_2 /A61 = GETTOK(T_PRM_FLG_1,61,2,':',61,'A61') ; "
OR
source: " THEN '/CDHR\DOWNLOADONLY\ISD40\PDFTEST' "
run in TSO: " THEN '/CDHRBig GrinOWNLOADONLY:ISD40:PDFTEST' "

What's causing this translation?? We've tried this on varios workstations using different emulators. Help. Thank you.
 
Posts: 8 | Registered: July 16, 2008Report This Post
Platinum Member
posted Hide Post
What happened when you ran it on various workstations? Did they all translate to a colon or did some translate and some not? I'm going to guess they all translated.

You said the problem started 2 weeks ago? Do you know any changes that occurred around that time?

I'm really taxing my memory and could be remembering wrong, but here's something else you can look for.....

I'm going to guess there is a different profile executed when run via batch versus TSO. In the top of the program, put this: -SET &ECHO=ALL;

This will echo back all the code executed, then you can look for differences.

If you don't see anything there, get your hands on the JCL that does the batch execution as well as the script for TSO (I am assuming when you say TSO, you are referring to what I called interactive FOCUS).

On each, look for //FOCEXEC

What you'll be looking for is if the PDS libraries listed for //FOCEXEC are the same AND listed in the same order. Order is important.

Then check each of these libaries for a member called PROFILE. If you find more than one, it's the first one that it comes to that will be executed. Check the contents of PROFILE to see if anything there is causing this translation.

Good luck.

Jessica Bottone


Data Migrator 5.3, 7.1, 7.6
WebFOCUS 7.1, 7.6, 7.7
SQL Server, Oracle, DB2
Windows
 
Posts: 126 | Registered: January 18, 2007Report This Post
Virtuoso
posted Hide Post
Is it possible you have updated your 3270 emulator package, if you are submitting interactive on TSO, it's been a long time. As Jessica asked, what other change may have happened?


Leah
 
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Report This Post
Member
posted Hide Post
thanks leah. jessica's assumptions are correct. different emulators the same error occurs. Interesting note, when i bring up the offending code in TED, there's no translation errors, but when the code is executed in the active environment, the conversion occurs.

I've done some cursory &echo=all comparisons, so maybe I need get down in the trenches. Most of our code is run in batch jobs, but for ad hoc reports, i like to use the active focus environment.
 
Posts: 8 | Registered: July 16, 2008Report This Post
Member
posted Hide Post
still haven't been able to see where this is happening. there's no system or emulator changes that I am aware of. But my scope is so narrow & there's a systems pgmr looking into this, but there's been a lot of cooks in the kitchen lately & it's difficult to know what's what.. i'm still looking at how our tso/clist focus is comparing to mvs/batch focus.
 
Posts: 8 | Registered: July 16, 2008Report 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     Unintended Code Translation Errors

Copyright © 1996-2020 Information Builders