Focal Point
[SOLVED] Modify Syntax

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

December 28, 2009, 06:35 PM
Dennis Smid
[SOLVED] Modify Syntax
I am looking for the most recent applicable WebFOCUS documentation for syntax for MODIFY. Note 1. I have old documentation from mainframe FOCUS, but I suspect the syntax has changed (see following). Note 2. I have searched the documentation site and the forum with no luck. Note 3. I do not have MAINTAIN.

My specific question relates to simple modify actions (insert, update, delete) to an Oracle table. Inadvertantly I submitted a MODIFY request with no MATCH or NEXT statements. In the old days this would have be an error (I think). It appears WebFOCUS simply adds the records to the table with no regard to record uniqueness (S1 segment). Obviously I missed the email and/or there may be more going on than I see.

Thanks in advance for any help.

This message has been edited. Last edited by: Dennis Smid,


WebFOCUS 7.6.2
AIX
Output: HTML, AHTML, Excel, and PDF
December 29, 2009, 04:26 AM
Alan B
Dennis

There has been no real changes to MODIFY for quite a while now.

For logic documentation try here.

MODIFY will add default logic if none exists. Therefore
MODIFY FILE fn
FIXFORM FROM HOLD
DATA ON HOLD
END
is valid, and produces:
MODIFY FILE fn
FIXFORM FROM HOLD
MATCH *
ON NOMATCH INCLUDE
DATA ON HOLD
END
hence your issue.


Alan.
WF 7.705/8.007
December 29, 2009, 09:12 AM
jgelona
Try this:
WebFOCUS Modify Reference Manual

You will probably need an account on the IBI website.

I also have a book titled "Interface to Oracle Users Manual". It however is for FOCUS for HP-UX 6.5, but the information in it is very useful for using MODIFY with Oracle. I have not found a .pdf for it on the IBI Website. If you can find it, study chapter 9, lots of good stuff.

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


In FOCUS since 1985. Prod WF 8.0.08 (z90/Suse Linux) DB (Oracle 11g), Self Serv, Report Caster, WebServer Intel/Linux.
December 29, 2009, 10:13 AM
Rhonda
I hope this helps

1. link to master indes of manuals
http://documentation.informati...df_s390_70/Index.pdf

2. link to manual where Modify is explained (I think). Don't be thrown off by the name of the file, it is mostly about MODIFY.
http://documentation.informati...s390_70/Maintain.pdf

I will forward any other links I can find.

Rhonda


WebFOCUS & ReportCaster 8.1.05, 7.7.03 - AIX/LINUX, FOCUS 7.6.13 MVS, Output PDF, XLS-XLSX, DOCX and HTML
December 29, 2009, 10:22 AM
Rhonda
I sent you mainframe links because there have not been any changes in MODIFY in a good long while. I found the old MF manuals had the best examples of using MODIFY in an application.

Best regards,
Rhonda


WebFOCUS & ReportCaster 8.1.05, 7.7.03 - AIX/LINUX, FOCUS 7.6.13 MVS, Output PDF, XLS-XLSX, DOCX and HTML
December 29, 2009, 01:14 PM
Dennis Smid
Thanks for the prompt response. The references were exactly what I was looking for.


WebFOCUS 7.6.2
AIX
Output: HTML, AHTML, Excel, and PDF