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     ****** in the CSV file.

Read-Only Read-Only Topic
Go
Search
Notify
Tools
****** in the CSV file.
 Login/Join
 
<Vijaya>
posted
Hello,

Can somebody please help me.
The process we have is - a text file is downloaded, CSVs are created and these CSVs are uploaded into SQL db.

I have a master file which have a couple of fields defined as:

FIELD=P_COMM_PREM_AMT, ALIAS=P_COMM_PREM_AMT, USAGE=P9.2, ACTUAL=Z9, $
FIELD=P_GROSS_PREM_CREDIT, ALIAS=P_GROSS_PREM_CREDIT, USAGE=P9.2, ACTUAL=Z9, $

When a value of 1000000 is downloaded - in the CSV it is stored as ********. As such the upload to SQl fails. When I manually replace the *** with 1 million it works fine.

I tried increasing the usage to P10.2, ACTUAL=Z10 and the same problem exists.

Confused
Vijaya
 
Report This Post
Virtuoso
posted Hide Post
Not being familiar with the Z version of data, I decided to look it up. In my IBM mainframe manual from historic useage, I quote, 'Data formats can be used with packed numbers declared with an ACTUAL of less than 8.'

This seems to contradict the Zn where 'n' = 1-31. If the field contains an assumed decimal point, in a usage Pm.d where d is decimal digits, m is the total digits, m must be at least 1 greater than the value of n. So P9.2 could have an ACTUAL of a Z8. However is the field in the CSV file really a packed number? How is the CSV created?
 
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Report This Post
Expert
posted Hide Post
Z is zoned decimal; i don't think you want to tinker with the ACTUAL format in your mfd. tinkering with the USAGE is safer.
can you define fields and set them to D9.2 ?
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
Guru
posted Hide Post
P9.2 for the usage format gives you a total length of 9 including the decimal point and the decimal places. Therefore the largest number you can display in a P9.2 is 999999.99.

I think this is one short of what you need.


Now for the actual format: You are reading a text file? Is this simply ALPHA data and not really a zoned format number? How is the text file created and wehre does it come from?
 
Posts: 346 | Location: Melbourne Australia | Registered: April 15, 2003Report 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     ****** in the CSV file.

Copyright © 1996-2020 Information Builders