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.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
EDAPUT Syntax
 Login/Join
 
Expert
posted
For those that are interested

The EDAPUT command syntax is:

EX -LINES {n} EDAPUT {File Type},{App/}{File Name},{Create Type},{Create Location}

n                       : Number of lines including EDAPUT Line
File Type               : Type of File (e.g. MASTER, FOCEXEC, ACCESS, etc [B]See Below[/B])
App/                    : Optionally Specify the APP directory
File Name               : Name of the File without the extension
Create Type             : Type of Create (CV=Create Variable, C=Create Fixed, A=Append to file)
Create Location         : File Location (FILE=Write to Current Location, MEM=Write to Memory only (V5.2 or later))


Watch out for...

  • In V5.2 or later, if a file exists in the EDAPATH, it WILL be replaced, unless you use the MEM option.
  • IBI say that this is internal code and is therefore NOT Supported


Known File Types, there may be more...
Version 5.1.4                   Version 7.1.6 & 7.6.4
FILETYPE        Extension       FILETYPE        Extension
ACCESS          acx             ACCESS          acx
ADR             adr             ACCESSU         acx
AFM             afm             ADR             adr
BMP             bmp             AFM             afm
BST             bst             BMP             bmp
DATA            dat             BST             bst
DDS             DDS             DATA            dat
EDASYNA         acx             DDS             DDS
EDASYNM         mas             DTD             dtd
EDASYNR         fex             EDASYNA         acx
EPS             eps             EDASYNM         mas
EXCEL           xls             EDASYNR         fex
FMU             fmu             EPS             eps
FOCCOMP         fcm             ETG             etg
FOCDEF          def             ETL             etl
FOCEXEC         fex             EXCEL           xls
FOCFTMAP        fmp             FMU             fmu
FOCPSB          psb             FOCCOMP         fcm
FOCSQL          acx             FOCCOMPW        fcm
FOCSTYLE        sty             FOCDEF          def
FOCTEMP         ftm             FOCEXEC         fex
FOCUS           foc             FOCEXECU        fex
GIF             gif             FOCFTMAP        fmp
HLI             hli             FOCPSB          psb
HOLDACC         acx             FOCSQL          acx
HOLDMAST        mas             GIF             gif
HTML            htm             FOCSTYLE        sty
MASTER          mas             FOCSTYLU        sty
MASTERU         mas             FOCTEMP         ftm
MNTPAINT        mpt             FOCUS           foc
OMI             omi             GIFU            gif
PDF             pdf             HLI             hli
PFA             pfa             HOLDACC         acx
PFB             pfb             HOLDMAST        mas
PS              ps              HTML            htm
TABS            txt             HTMLU           htm
TDL             tdl             JPG             jpg
TTEDIT          tte             LSN             lsn
TXT             txt             MAINTAIN        mnt
WINFORMS        wfm             MAINTAIU        mnt
XHT             xht             MASTER          mas
XML             xml             MASTERU         mas
XSL             xsl             MNTPAINT        mpt
                                OMI             omi
                                PDF             pdf
                                PFA             pfa
                                PFB             pfb
                                PS              ps 
                                SVG             svg
                                TABS            txt
                                TDL             tdl
                                TRF             trf
                                TTEDIT          tte
                                TXT             txt
                                WINFORMS        wfm
                                WINFORMU        wfm
                                WSDL            wsd
                                XHT             xht
                                XML             xml
                                XSD             xsd
                                XSL             xsl


Example Code
EX -LINES 5 EDAPUT MASTER,tempmast,CV,FILE
FILENAME=TEMPMAST, SUFFIX=FIX,$
SEGNAME=ONE, SEGTYPE=S1 ,$
  FIELD=FIELD1  ,ALIAS=  ,A10 ,A10 ,$ 
  FIELD=FIELD2  ,ALIAS=  ,P18 ,A18 ,$


Or

EX -LINES 4 EDAPUT MASTER,tempmast,CV,FILE,FILENAME=TEMPMAST, SUFFIX=FIX,$
SEGNAME=ONE, SEGTYPE=S1 ,$
  FIELD=FIELD1  ,ALIAS=  ,A10 ,A10 ,$ 
  FIELD=FIELD2  ,ALIAS=  ,P18 ,A18 ,$


Have fun EDAPUTting

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


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: 6349 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Master
posted Hide Post
Just what is the purpose of EDAPUT?


In FOCUS since 1985. Prod WF 8.0.08 (z90/Suse Linux) DB (Oracle 11g), Self Serv, Report Caster, WebServer Intel/Linux.
 
Posts: 975 | Location: Oklahoma City | Registered: October 27, 2006Report This Post
Expert
posted Hide Post
I've added this because I have seen EDAPUT being mentioned in other posts.

What it does, is that it allows you to write out a file of a specified type. The most common example is creating a Master inside a FOCEXEC and then use it. Although it is not limited to just Masters.

The other way is to FILEDEF a file, and -WRITE the contents out. This is, I think, a much neater way to do it.

I have added this post in so a more complete syntax is available, as there is no documentation, even though you find the command in the focexes supplied with WebFOCUS.

Hope this answers your question.


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: 6349 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Virtuoso
posted Hide Post
I used this facility while writing QA test-suite code at IBI.

Note that "EX -LINES ...", like any Focus command, is interpreted only when it is encountered in FOCSTACK, and thus the {n} lines are counted as they appear in FOCSTACK. Dialog Manager command or comment lines interspersed among them in the original fex are not part of the count.


- Jack Gross
WF through 8.1.05
 
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders