Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HOLD FILE WIDTH

Status
Not open for further replies.

PeterG5

Programmer
Apr 29, 2003
68
IE
Hi,

What is the maximum width for a Lotus hold file and can this setting be changed?

Thanks.
 
Here is what I found at IB's site:
HOLD/SAVE FORMAT LOTUS files on MF FOCUS releases 68 and earlier are limited to a 240 byte record. With release 7.0 and higher, the LRECL was increased to 512 bytes. One option is to use ON TABLE HOLD FORMAT EXCEL or HOLD FORMAT EXL2K if the ultimate desire is to import into an EXCEL compatible spreadsheet. If it must be FORMAT LOTUS, we can manually generate a comma-delimited file that can be imported to LOTUS. In a comma-delimited file, alphanumeric data is enclosed in double quotes and the data fields are separated by a comma. By using DEFINE to generate a field that contains a comma and another that contains a double quote, we can manually create a comma-delimited file that can be any length. The following is an example of this technique using the CAR file:

DEFINE FILE CAR
COMMA/A1 WITH COUNTRY=',';
QUOTE/A1 WITH COUNTRY='"';
END
TABLE FILE CAR
PRINT QUOTE COUNTRY QUOTE COMMA QUOTE CAR QUOTE COMMA
RETAIL_COST COMMA DEALER_COST
ON TABLE SAVE AS SAVCAR
END
Does it address your situation???
 
Are you on a platform where you can use FORMAT COM or FORMAT COMT ?

These create comma delimited files without the restrictions associated with FORMAT LOTUS.
 
Hi Jimster06,

Thanks for this tip; It could be used if I cannot set the width appropriately. I have used MF Focus and been able to output up to 512 characters. The WebFocus limit seems to be between 300 and 400.

Hi Craigiep,
Unfortunately, neither COM nor COMT seem to be supported on my platform. Thanks anyway.

Peter.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top