Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Focus Error

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging
View previous topic :: :: View next topic  
Author Message
nikyojin

New User


Joined: 05 Oct 2005
Posts: 94

PostPosted: Thu Apr 06, 2006 4:38 am    Post subject: Focus Error
Reply with quote

Hi Guys...Pls give me an Idea regarding this.
Code:
MATCH FILE IBPRFNEW                                                           
SUM                                                                           
   DISPLAY_ID_PARTB  AS 'DISPLAYIDPARTB'                                       
   BILLREPNM         AS 'BILLREPNAME'                                         
   OPER_UNIT_NAME    AS 'OPUNITNAME'                                           
   CUST_ACCT_NAME    AS 'NAME'                                                 
BY PARTY_KEY        AS 'PARTYKEY'                                             
BY PROFILE_KEY      AS 'PROFILEKEY'                                           
WHERE BILL_UNIT_ORG_NULL NE '?'                                               
AFTER MATCH HOLD AS HOLD2 OLD                                                 
RUN                                                                           
FOC198) FATAL ERROR IN DATABASE I/O. FOCUS TERMINATING  ERROR WRITING FOCSORT 
 PAGE 262144, CODE 0x0000cccc                                                 
Back to top
View user's profile Send private message

iknow

Active User


Joined: 22 Aug 2005
Posts: 413
Location: Colarado, US

PostPosted: Fri Apr 07, 2006 7:28 am    Post subject: Re: Focus Error
Reply with quote

Hi,

FOC198 error means that "A severe error was encountered in reading from or writing to a FOCUS database. FOCUS was unable to recover from this error, and will return to the host environment. "

In your code you have specified the match type as 'OLD'.

As far as my knowledge is concern the following are the match types available

List of MATCH TYPE
    OLD-OR-NEW include all records from both files
    OLD-AND-NEW include only records matched from both files
    OLD-NOT-NEW include all records from the old file except those matched in the new file
    NEW-NOT-OLD include all records from the new file except those matched in the old file
    OLD-NOR-NEW include all records from the old and new files except those that matched


Try replacing with above one of the type and check the result. It should work well.

NOTE

I have attached the list of FOCUS error messages document for your reference.
Back to top
View user's profile Send private message
nikyojin

New User


Joined: 05 Oct 2005
Posts: 94

PostPosted: Fri Apr 07, 2006 9:22 am    Post subject: Re: Focus Error
Reply with quote

Hi Iknow....Thx for the response....I'll surely be checking this out.....The same code is working with a small I/P file and it has been running in production since long time....Pls inform me the changes after this new information ...
Thanks,
Nikyojin
Back to top
View user's profile Send private message
nikyojin

New User


Joined: 05 Oct 2005
Posts: 94

PostPosted: Fri Apr 07, 2006 5:19 pm    Post subject: Re: Focus Error
Reply with quote

Hi Iknow
The same code was previously running and there are lots of OLD keywords mentioned...still its functioning fine...Pls suggest an alternative if possible......
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts IDC2902I Error tzeche ABENDS & Debugging 2 Tue Mar 28, 2017 11:39 am
No new posts Need help with below DB2 error ashek15 DB2 3 Sat Mar 18, 2017 5:56 am
No new posts FINDREP Syntax Error seahawk789 DFSORT/ICETOOL 4 Thu Mar 09, 2017 10:11 pm
No new posts INVOKE WEBSERVICE error danik56 CICS 11 Thu Mar 09, 2017 11:52 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us