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] MORE Command on AS400

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] MORE Command on AS400
 Login/Join
 
Master
posted
Does anyone know if the MORE command works with regular FOCUS on the AS400? I can not find it in my AS400 manual.

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


Pat
WF 7.6.8, AIX, AS400, NT
AS400 FOCUS, AIX FOCUS,
Oracle, DB2, JDE, Lotus Notes
 
Posts: 755 | Location: TX | Registered: September 25, 2007Report This Post
Expert
posted Hide Post
If it's not in the FOCUS for AS/400 manual, then it's probably not supported, but there's nothing stopping you from trying.

TABLE FILE CAR
SUM SALES
BY COUNTRY
MORE
FILE CAR
END


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Master
posted Hide Post
Thanks for responding Francis. The bad thing is that Focus for the AS400 is no longer supported so I guess I'll just have to wait till I can get this program converted to WF.


Pat
WF 7.6.8, AIX, AS400, NT
AS400 FOCUS, AIX FOCUS,
Oracle, DB2, JDE, Lotus Notes
 
Posts: 755 | Location: TX | Registered: September 25, 2007Report This Post
Silver Member
posted Hide Post
I successfully tested this with WebFOCUS. The files are on the iSeries (AS400) in DB2 with similar, but not exact fields:

TABLE FILE MALPRHS2
PRINT
JPROD#
JDATE
JTRAN
WHERE JDATE EQ 1080926 AND JTRAN EQ '04'
MORE
FILE BLLJDTL1
WHERE JDATE EQ 1080926 AND JTRAN EQ '43'
END


Brian Bollmann
Spartan Light Metal Products
WebFocus 7.6.4 / iSeries / WebSphere
 
Posts: 34 | Registered: May 09, 2008Report This Post
Master
posted Hide Post
Brian, the problem isn't with WebFocus but regular (old) FOCUS. I'm trying to find a permanent solution for a sort overflow problem. I have a temporary work around, but I am afraid that will eventually fail and then I'm stuck. There are also security issues with trying to create a permanent hold file. The immediate problem is that I am out of time, the program runs on Thursday, so for this month all I can do is hope we don't hit the sort limit again.


Pat
WF 7.6.8, AIX, AS400, NT
AS400 FOCUS, AIX FOCUS,
Oracle, DB2, JDE, Lotus Notes
 
Posts: 755 | Location: TX | Registered: September 25, 2007Report This Post
Expert
posted Hide Post
Pat, you hadn't previously mentioned that you're having a sort overflow problem.

As on the IBM Mainframe you can allocate extra storage space for sorting, the same should be available for the AS400.

On IBM Mainframe:
//FOCSORT  DD UNIT=PUBLIC,SPACE=(CYL,(500,75))
//S001WK01 DD UNIT=PUBLIC,SPACE=(CYL,(500,75))
//S001WK02 DD UNIT=PUBLIC,SPACE=(CYL,(500,75))
//S001WK03 DD UNIT=PUBLIC,SPACE=(CYL,(500,75))
//S001WK04 DD UNIT=PUBLIC,SPACE=(CYL,(500,75))
//S001WK05 DD UNIT=PUBLIC,SPACE=(CYL,(500,75))
//S001WK06 DD UNIT=PUBLIC,SPACE=(CYL,(500,75))

There probably also is the possibility of calling an external sort instead of using the default FOCUS sort.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Master
posted Hide Post
Unfortunately, you don't use JCL on the AS400. According to the documentation you can't expand the sortwork past where we have it set. I guess I should have explained the whole problem in the first place. I did not write the original program and the person who did has retired, so I have no one to go back to for an explanation of the logic.

I have a huge JDE file that we are using to do an aging report for our Credit department. The program originally pulled off every line item without a zero balance. Then it summed the data to give us a balance for the invoice and then it matched it against payments (I think). For now, I have eliminated one of those steps, summing to the invoice level as I extract the data. What I was hoping to do for future runs was hold my history file (all invoices still open at the end of the current month) and then just pull off the invoices and payments for the current month. The problem then is getting the invoices into my history file before matching it (or joining) to the payments. The only thing I can think of is to create a FOCUS database of my history load the new invoices into it, match it to the payments and then purge everything with a zero balance. If anyone has another suggestion, I would love to hear it.


Pat
WF 7.6.8, AIX, AS400, NT
AS400 FOCUS, AIX FOCUS,
Oracle, DB2, JDE, Lotus Notes
 
Posts: 755 | Location: TX | Registered: September 25, 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] MORE Command on AS400

Copyright © 1996-2020 Information Builders