Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     FOC198 - how to view the data fiel which is a VSAM file
Go
New
Search
Notify
Tools
Reply
  
FOC198 - how to view the data fiel which is a VSAM file
 Login/Join
 
Silver Member
posted
Hi
Can any one help me how to view the datafile which is VSAM configured...

I want to view all the data from the file,
my coding is below

TSO ALLOC F(TBRMONTH) DA('TBR.MAST0006') SHR REUSE
TABLE FILE TBRMONTH
PRINT *
END

When i do so it throws FOC198 error stating,

(FOC198) FATAL ERROR IN DATABASE I/O. FOCUS TERMINATING ERROR WRITING FOCSORT


Thanks,
RB4U.


Focus Core 7.1.1 & 7.6.4
XP
MainFrames
 
Posts: 38 | Registered: November 20, 2007Reply With QuoteReport This Post
Virtuoso
posted Hide Post
RB4U,

If you add a recordlimit do you get the same error message

TABLE FILE TBRMONTH
PRINT *
IF RECORDLIMIT EQ 10
END


Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF

 
Posts: 1947 | Location: Tel Aviv, Israel | Registered: March 23, 2006Reply With QuoteReport This Post
Gold member
posted Hide Post
It seems you are hitting the file size limit for FOCSORT. Look into TABLEF instead of TABLE. If you only need to view the data, without any BY phrases, that should work.


Diptesh
WF 7.1.7 - AIX, MVS
 
Posts: 79 | Location: Warren, NJ, USA | Registered: October 25, 2006Reply With QuoteReport This Post
Master
posted Hide Post
A 198 is an error reading/writing to a FOCUS database. I think you have an error in your Master. Can you post your MFD (Master File Description). Also, check your user manual for DYNAM ALLOC, it has been a long (loooooonnnnnng) time since I have used a VSAM file, but your allocation doesn't look quiet right. How many characters are in a record?


Pat
WF 7.6.8, AIX, AS400, NT
AS400 FOCUS, AIX FOCUS,
Oracle, DB2, JDE, Lotus Notes
 
Posts: 755 | Location: TX | Registered: September 25, 2007Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     FOC198 - how to view the data fiel which is a VSAM file

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.