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     [CLOSED] IMS - Cobol

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] IMS - Cobol
 Login/Join
 
Master
posted
Hai all..

We are trying to report on IMS mainframe database.
It seems in IMS (cobol), sometime a field is redefined to another field and they both share same memory.

On the webfocus we use a condition to use either of those fields.
There is no problem when both are Alphanumeric or both are packed.
But at a particular situation, one is packed-decimal and other is alpha-numeric.
Conversions using PTOA etc did not help. It gives FORMAT CONVERSION ERROR. DATA EXCEPTION.

Can anyone have any suggestions please.?

Thanks..

This message has been edited. Last edited by: Kerry,


8.1.05
HTML,PDF,EXL2K, Active, All
 
Posts: 484 | Registered: February 03, 2009Report This Post
Expert
posted Hide Post
Define your field in the master as alphanumeric, i.e. Ann. Then refer to the "Using Functions" manual to read up on the CHKPCK subroutine. That should do what you need.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
 
Posts: 2723 | Location: Ann Arbor, MI | Registered: April 05, 2006Report This Post
Master
posted Hide Post
Thanks for the suggestion. Already tried that but did not work


8.1.05
HTML,PDF,EXL2K, Active, All
 
Posts: 484 | Registered: February 03, 2009Report This Post
Platinum Member
posted Hide Post
It has been a long time since I have done any IMS/DL1. But when a segment has two different layouts best practices suggest a segment type indicator. Have you tried using this as a RECTYPE in your master?


Jim Morrow
Web Focus 7.6.10 under Windows 2003
MVS 7.3.3



 
Posts: 129 | Registered: June 01, 2005Report This Post
Master
posted Hide Post
Thanks Jim.
We found the same and we are working on it now..


8.1.05
HTML,PDF,EXL2K, Active, All
 
Posts: 484 | Registered: February 03, 2009Report 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     [CLOSED] IMS - Cobol

Copyright © 1996-2020 Information Builders