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     [CLOSED] Mainframe FOCUS - Error when loading an XFOCUS DB

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Mainframe FOCUS - Error when loading an XFOCUS DB
 Login/Join
 
Expert
posted
I very occasionally get an error when loading an XFOCUS database via a batch job. It is a large multi-volume database. What puzzles me is that when I rerun the job (same input and output) it works.

This is the error:

IEC024I 337-04,IFG0552X,FMARIAN1,FOCUS,DTNIBR,50BD,PUB700,PROJ1.INS.DTNIBR.XFOC
...
SYSTEM COMPLETION CODE=337  REASON CODE=00000004


I checked IBI Tech Support and there isn't much on this error. One case discusses an XFOCUS database with a FOCUS database cross reference file, which is not my scenario.

I've dug around on the web and found this:

Abend Code=337,  Reason Code=04:  end-of-data set was reached and no eodad (end
     of data set routine) was specified in the DCB.
     problem:  program read to the end of data set and tried to read past it.
     causes:   1)  program incorrectly tried to  re-read data set without back-
               spacing or rewinding.
               2)  an end-of-data set routine should have been included but was
               not, or eodad not specified in DCB.
     solution: 1)  determine why  program tried to read more data  after it had
               read the data set;   if you need to re-read the data,  rewind or
               backspace the data set.
               2) include eodad routine to take care of the condition,  or code
               the appropriate DCB subparameter.

I have a simple, one segment XFOCUS database and I use simple CREATE FILE/MODIFY FILE code.

This message has been edited. Last edited by: Francis Mariani,


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
Expert
posted Hide Post
Are you effectivley clearing and reloading the XFOCUS file ?

Is the XFOC file a new one ?

Is it allocated for exclusive use ?

This sort of thing does ring some long distant bells.


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: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Virtuoso
posted Hide Post
Missing END card?
 
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005Report This Post
Expert
posted Hide Post
Master:
FILE=DTNIEBR, SUFFIX=XFOCUS, $
SEGNAME=BRANCH, SEGTYPE=S4, $
  FIELD=BRANCH  , ALIAS=BRANCH  , FORMAT=A4     , $
  FIELD=CATEGORY, ALIAS=CATEGORY, FORMAT=A12    , $
  FIELD=YRMTH   , ALIAS=YRMTH   , FORMAT=A7     , $
  FIELD=FILENAME, ALIAS=FILENAME, FORMAT=A8     , $
  FIELD=PRDTYPE , ALIAS=PRDTYPE , FORMAT=A1     , $
  FIELD=BALNIE  , ALIAS=BALNIE  , FORMAT=P17.2BC, $

Load program:
SET MSG        = ON
SET CENT-ZERO  = ON
SET COUNTWIDTH = ON

SET HOLDLIST   = PRINTONLY
SET HOLDFORMAT = ALPHA
SET ASNAMES    = ON

SET PAGE       = NOLEAD
SET LINES      = 999999
SET PAPER      = 999999
SET WIDTH      = 132
SET PANEL      = 9999

SET SORTLIB    = MVSMSGDF
SET AUTOINDEX  = ON
SET XFOCUS     = ON
-RUN

CREATE FILE DTNIEBR
-RUN

MODIFY FILE DTNIEBR
CHECK 100000

FIXFORM FROM DTHNIE10

MATCH BRANCH YRMTH CATEGORY FILENAME
  ON MATCH   REJECT
  ON NOMATCH INCLUDE

DATA ON DTHNIE10
END
-RUN


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
Expert
posted Hide Post
A colleague suggested I delete the file before loading it so I will add a step in the JCL.

I was wondering what happens to multi-volume files when they get archived. Is it possible that only part of the file gets archived - the part on the second volume?


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
Expert
posted Hide Post
quote:
I was wondering what happens to multi-volume files when they get archived


Would that be a question for another forum ?

I would certainly ask IBI as well, to see what they say what happens if part of the multi-volumn file is archived.


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: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report 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     [CLOSED] Mainframe FOCUS - Error when loading an XFOCUS DB

Copyright © 1996-2020 Information Builders