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] Holding files on UNIX SYSTEM

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Holding files on UNIX SYSTEM
 Login/Join
 
Silver Member
posted
HI every body
I have some problem when holding file under AIX OS.
My file is correctly cataloged with a FILEDEF command, ANd the associated Master is also correctly cataloged under the appropriate directory via APP HOLDMETA dir command.
The problem is, when I want to work later on this file.
The records seem to be truncated or missread !
Here is my code:
-SET &DIR = '/usr/local/tws/DWN1/tmp/' ;
-SET &FILE = 'HDAYLI.txt' ;
-SET &FICHIER = &DIR || &FILE ;
-TYPE &FICHIER
FILEDEF HDAYLI DISK &FICHIER
APP HOLDMETA baseapp
-RUN
TABLE FILE HFDFL1
PRINT
CLE_PDV_PDN
CLE_REF_CLI
CLE_OFF
CLE_OFF_PDN
DAT_JOU
ON TABLE SET PAGE-NUM OFF
ON TABLE NOTOTAL
ON TABLE HOLD AS HDAYLI
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
UNITS=IN,
SQUEEZE=ON,
ORIENTATION=PORTRAIT,
$
TYPE=REPORT,
GRID=OFF,
FONT='TIMES NEW ROMAN',
SIZE=10,
COLOR='BLACK',
BACKCOLOR='NONE',
STYLE=NORMAL,
$
TYPE=REPORT,
COLUMN=N23,
WRAP=8.000000,
$
TYPE=REPORT,
COLUMN=N15,
WRAP=8.000000,
$
ENDSTYLE
END
-END of generation fex
-Beginning of usage fex
-SET &DIR = '/usr/local/tws/DWN1/tmp/' ;
-SET &FILE = 'HDAYLI.txt' ;
-SET &FICHIER = &DIR || &FILE ;
-TYPE &FICHIER
FILEDEF HDAYLI DISK &FICHIER
APP PREPENDPATH baseapp

TABLE FILE HDAYLI
PRINT
CLE_PDV
CLE_PDV_PDN
CLE_REF_CLI
CLE_OFF
CLE_OFF_PDN
DAT_JOU
WHERE RECORDLIMIT EQ 1000
ON TABLE SET PAGE-NUM OFF
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
UNITS=IN,
LEFTMARGIN=0.000000,
....
END

Thank's for your help.

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


WebFocus thru Dev Studio version 7.6.11
Dev Studio on Windows Xp, Webfocus Client on UNIX basing on TOMCAT and DB2,
Reporting Server on MVS , USS and on UNIX
 
Posts: 39 | Location: France | Registered: December 10, 2007Report This Post
Expert
posted Hide Post
Try saying ON TABLE HOLD AS HDAYLI FORMAT ALPHA and see if that helps. I have an AIX installation we hold files all the time. I also recommend using lower case to name your files.


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
Expert
posted Hide Post
You shouldn't have to PREPENDPATH baseapp as it is always there.

If Ginny's suggestion does not work, can you repor with some sample data, then it may be easier to spot the problem.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Silver Member
posted Hide Post
HI Ginny and Waz
The solution was right.
The FORMAT ALPHA complement was THE good one.
Thank you for your help.


WebFocus thru Dev Studio version 7.6.11
Dev Studio on Windows Xp, Webfocus Client on UNIX basing on TOMCAT and DB2,
Reporting Server on MVS , USS and on UNIX
 
Posts: 39 | Location: France | Registered: December 10, 2007Report 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] Holding files on UNIX SYSTEM

Copyright © 1996-2020 Information Builders