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]Redefining a Segment

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED]Redefining a Segment
 Login/Join
 
Member
posted
I'm trying to create a Master from a COBOL copybook, and I need to redefine a segment to match what COBOL is doing. Below is what I put together from reading Focus documentation, but it doesn't work. Can someone point out where I'm going wrong?

Thanks

GROUP=SR_BUREAU_INFO ,154-181 ,USAGE=A28 ,ACT=A28 ,$
FIELD=SR_BUREAU ,154-154 ,USAGE=A01 ,ACT=A01 ,$
FIELD=SR_CEDED_CO ,155-157 ,USAGE=A03 ,ACT=A03 ,$
FIELD=SR_BROKER_NUMBER ,158-163 ,USAGE=A06 ,ACT=A06 ,$
FIELD=SR_REIN_FEE ,164-167 ,USAGE=P08.2 ,ACT=P04 ,$
FIELD=SR_FAC_PERCENT ,168-170 ,USAGE=P06.4 ,ACT=P03 ,$
FIELD= ,171-181 ,USAGE=A11 ,ACT=A11 ,$

SEGNAME=TWO,SEGTYPE=U, POSITION=SR_BUREAU_INFO, OCCURS=1 ,PARENT=ONE,$
GROUP=SR_BUREAU_INFOMOD1 ,154-181 ,USAGE=A28 ,ACT=A28 ,$
FIELD=SR_BUREAU_ID_INFO1 ,154-154 ,USAGE=A01 ,ACT=A01 ,$
FIELD=SR_PLAN_ID_INFO1 ,155-155 ,USAGE=A01 ,ACT=A01 ,$
FIELD=SR_PREMIUM_CLASS_CODE ,156-158 ,USAGE=A03 ,ACT=A03 ,$
FIELD=SR_GOVERNING_AGY_INFO1 ,159-160 ,USAGE=A02 ,ACT=A02 ,$
FIELD=SR_ALTERNATE_AGY_INFO1 ,161-162 ,USAGE=A02 ,ACT=A02 ,$

This message has been edited. Last edited by: <Emily McAllister>,


FOCUS 7.7.03

z/OS 01.13.00 HBB7780
 
Posts: 11 | Registered: February 28, 2014Report This Post
Virtuoso
posted Hide Post
  
 GROUP=SR_BUREAU_INFO            ,154-181  ,USAGE=A28     ,ACT=A28  ,$
  FIELD=SR_BUREAU                ,154-154  ,USAGE=A01     ,ACT=A01  ,$
  FIELD=SR_CEDED_CO              ,155-157  ,USAGE=A03     ,ACT=A03  ,$
  FIELD=SR_BROKER_NUMBER         ,158-163  ,USAGE=A06     ,ACT=A06  ,$
  FIELD=SR_REIN_FEE              ,164-167  ,USAGE=P08.2   ,ACT=P04  ,$
  FIELD=SR_FAC_PERCENT           ,168-170  ,USAGE=P06.4   ,ACT=P03  ,$
  FIELD=FILLER                   ,171-181  ,USAGE=A11     ,ACT=A11  ,$
                                                                      
SEGNAME=TWO,SEGTYPE=U, POSITION=SR_BUREAU_INFO, OCCURS=1 ,PARENT=ONE,$
  GROUP=SR_BUREAU_INFOMOD1       ,154-181  ,USAGE=A28     ,ACT=A28  ,$
   FIELD=SR_BUREAU_ID_INFO1      ,154-154  ,USAGE=A01     ,ACT=A01  ,$
   FIELD=SR_PLAN_ID_INFO1        ,155-155  ,USAGE=A01     ,ACT=A01  ,$
   FIELD=SR_PREMIUM_CLASS_CODE   ,156-158  ,USAGE=A03     ,ACT=A03  ,$
   FIELD=SR_GOVERNING_AGY_INFO1  ,159-160  ,USAGE=A02     ,ACT=A02  ,$
   FIELD=SR_ALTERNATE_AGY_INFO1  ,161-162  ,USAGE=A02     ,ACT=A02  ,$
   FIELD=FILLER                  ,171-181  ,USAGE=A11     ,ACT=A11  ,$


You have to account for all characters defined in the redefine position.

Also, you can't just do a sample data here. You have to be very careful how to select the columns. If you select the SR_FAC_PERCENT, but the source is SR_ALTERNATE_AGY_INFO1 then you will generate an error.

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


"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott
 
Posts: 1102 | Location: Toronto, Ontario | Registered: May 26, 2004Report 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]Redefining a Segment

Copyright © 1996-2020 Information Builders