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     [Solved] TX field issue

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[Solved] TX field issue
 Login/Join
 
Guru
posted
Hi All, I have this metadata

  
FILENAME=GOJS, SUFFIX=SQLORA  , $
  SEGMENT=GOJS, SEGTYPE=S0, $
    FIELDNAME=KEY, ALIAS=KEY, USAGE=P13, ACTUAL=P7, $
    FIELDNAME=JSON, ALIAS=JSON, USAGE=TX1, ACTUAL=TX,
      MISSING=ON, $


this code

TABLE FILE GOJS
PRINT
 JSON
 WHERE KEY EQ 1
ON TABLE PCHOLD FORMAT ALPHA
END
-RUN


and this data

Key= 1
JSON=
{ "class": "go.GraphLinksModel",  "modelData": ...


I am using TX1 but it not showing records with the spaces. In other words it shows:

{
"
c
l
a
...


and I want

{
"
 
c
l
a
...


I have tried other version of TX for example

    FIELDNAME=JSON, ALIAS=JSON, USAGE=TX1, ACTUAL=TX,
      MISSING=ON, $
[CODE]

produces:

[CODE]
{    
"clas
s":  
"go.G


You will see extra space, as it pads to fill 5 characters per line.

if it included the one space that I want and not the extra ones, I would be ok.

Any ideas on how to get the spaces without the padding?

Fernando

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


Prod WF 8.1.04, QA WF 8.2.03, Dev WF 8.2.03
 
Posts: 278 | Registered: October 10, 2006Report This Post
Guru
posted Hide Post
Did zou try using PARAG?


Test: WF 8.2
Prod: WF 8.2
DB: Progress, REST, IBM UniVerse/UniData, SQLServer, MySQL, PostgreSQL, Oracle, Greenplum, Athena.
 
Posts: 454 | Location: Europe | Registered: February 05, 2007Report This Post
Guru
posted Hide Post
I have not tried that. Looking at the doc I see that it helps split lines. That is not quite what I want.

Fernando


Prod WF 8.1.04, QA WF 8.2.03, Dev WF 8.2.03
 
Posts: 278 | Registered: October 10, 2006Report This Post
Guru
posted Hide Post
Then what is it that zou want? In your example it looks like you want to split the string to have a row per charachter.


Test: WF 8.2
Prod: WF 8.2
DB: Progress, REST, IBM UniVerse/UniData, SQLServer, MySQL, PostgreSQL, Oracle, Greenplum, Athena.
 
Posts: 454 | Location: Europe | Registered: February 05, 2007Report This Post
Guru
posted Hide Post
I have adjusted my metadata to use A32000. This solves my issue.

Fernando


Prod WF 8.1.04, QA WF 8.2.03, Dev WF 8.2.03
 
Posts: 278 | Registered: October 10, 2006Report 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     [Solved] TX field issue

Copyright © 1996-2020 Information Builders