Focal Point
Access CAR database from .....

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/1131077331

February 25, 2004, 07:12 AM
<robin987d>
Access CAR database from .....
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
March 18, 2004, 12:51 PM
<monte2000>
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