IB - Developer Center    Forums  Hop To Forum Categories  FOCUS/WebFOCUS    Access CAR database from .....
Go
New
Search
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
<robin987d>
Posted
Hi,
I am using FOCUS 7.0.9 . From TSO , how do I enter the FOCUS region and avail the CAR database.
To make things simple let's say I wanna write the simplest FOCUs pgm
TABLE FILE CAR
PRINT fieldname1, fieldname2
END

I guess I need to allocate all the relevant files associated with CAR database , before actually writing the report PGM.

-Rgds
 
Reply With QuoteEdit or Delete MessageReport This Post
<monte2000>
Posted
Spoke to the FOCUS Product Manager here and he told me that to access a Focus database from MVS/TSO, Focus needs TWO items:

1. an allocation pointing to the Focus database. The ddname is the name of the file

2. a data description for the Focus file. This is stored in a PDS under the ddname MASTER. The member name is the name of the file.

So, in this specific case, the ddname CAR should point to the Focus database, and, under the ddname MASTER, there should be a member called CAR, containing the file description.

Hope that helps.
Monica
 
Reply With QuoteEdit or Delete MessageReport This Post
 Previous Topic | Next Topic powered by eve community  
 

IB - Developer Center    Forums  Hop To Forum Categories  FOCUS/WebFOCUS    Access CAR database from .....

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