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 HAVE 30 FIELDS AND 2 ROWS OF DATA IN MY TABLE, I WANT TO CONVERT ROWS VALUES INTO COLUMNS AND VICEVERSA I USED OVER COMMAND BUT IAM UNABLE TO HOLD THE DATA IN MY REQUIRED FORMAT
I'm not sure what you need. Can you post the master for this table along with some code you used in your attempt to use over? This sounds like something where the McGuyver technique could be used but I'm not sure.
FOCUS 7.6 MVS PDF,HTML,EXCEL
Posts: 115 | Location: Chicago, IL | Registered: May 28, 2004
Hi GM Basically iam tring to impliment TRANSPOSE functionality i.e My Table has 5 columns and 2 rows of data but i want to make it as 5 rows and 2 coloumns of data
Good luck getting the MFD parser to work in a reasonable amount of time with 1000 columns in a table. I don't know if there is an actual limit to the number of fields but you're definitely going to notice a delay trying to continuously parse an MFD that big.
Regards,
Darin
In FOCUS since 1991 WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex WF Client: 77 on Linux w/Tomcat
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007
NAG, you haven't been consistent with your requirements, so I will assume the first requirement, "I HAVE 30 FIELDS AND 2 ROWS OF DATA IN MY TABLE..."
The OCCURS clause in the Master may do the trick.
WORKING EXAMPLE:
My assumptions are that the data is a flat file, is in the proper order and that there really is a difference between the two rows of data (row one A1..., row two 001...).
Master:
FILE = F001, SUFFIX=FIX, $
SEGNAME = SEG01, SEGTYPE=S0, OCCURS=30, $
FIELD = FLD001, ALIAS=E01, ACTUAL=A03, USAGE=A03, $
DEFINE FLD_TYPE/A1 = IF CHKFMT(3, FLD001, 'A$$', 'I1') EQ 0 THEN 'A' ELSE 'B';
DEFINE FLD_COUNT/I2 = IF FLD_TYPE EQ LAST FLD_TYPE THEN FLD_COUNT + 1 ELSE 1;