Focal Point
[SOLVED] IOSTREAM in master file

This topic can be found at:
http://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/8367039816

April 12, 2012, 12:55 PM
brad-s
[SOLVED] IOSTREAM in master file
What is IOTYPE in my master file?
How do I suppress it?

I am tabling data out of a FOCUS database and simply HOLDing it in a text file.
The accompanying MAS master file has an entry on the first line
FILENAME=FILE1, SUFFIX=FIX, IOTYPE=STREAM, $

How do I elimintae the IOTYPE setting?

This message has been edited. Last edited by: <Kathryn Henning>,


Brad S.
WF 8.05 / Win7 /Tomcat Self Serve
April 12, 2012, 05:51 PM
Waz
Why do you want to remove it ?

I think it tells FOCUS how to read the file


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.06OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Know The Code

April 13, 2012, 03:54 AM
Alan B
Waz is correct, this setting helps FOCUS read FIX format HOLD type files. It is applicable to later 7.6 and 7.7 release I believe.

There are 2 values, BINARY and STREAM, for IOTYPE and it is internally generated and should not be applied manually to an MFD.


Alan.
WF 7.705/8.007
April 16, 2012, 08:44 AM
brad-s
I tabled the data into a hold file (hold.ftm and hold.mas) from 7.7.03. The hold.mas has the IOTYPE parameter.

When I table that hold file from a 7.6.5 machine, it can not read the file.

Is there a setting in 7.6.5 that I am missing for 7.6.5 to recognize the IOTYPE parameter?


Brad S.
WF 8.05 / Win7 /Tomcat Self Serve
April 16, 2012, 05:46 PM
Waz
How did you FILEDEF file hold file ?

Did you specify LRECL and RECFM ?


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.06OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Know The Code

April 17, 2012, 01:29 AM
Danny-SRL
See: http://www.informationbuilders.../wf_news_may2011.pdf
On pages 10-12, it tells you all about FILEDEF and IOTYPE (which ws introduced in WF 7.7).


Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF

April 23, 2012, 03:41 PM
brad-s
I hold file as FORMAT ALPHA


Brad S.
WF 8.05 / Win7 /Tomcat Self Serve
February 02, 2015, 03:00 PM
Doug
I needed to add the "DATASET='mypath/table2.ftm'" to the mas in order to read the file.
FILENAME=table2  , SUFFIX=FIX     , IOTYPE=STREAM, $
  DATASET='mypath/table2.ftm'
  SEGMENT=table2, SEGTYPE=S0, $
    FIELDNAME=FIELDNAME, ALIAS=E01, USAGE=A100, ACTUAL=A100, $

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


   In FOCUS Since 1983 ~ from FOCUS to WebFOCUS.
   Most recent: 8204 Gen 48 in Test and Production.