Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Data source problem

Status
Not open for further replies.

jlg5454

Technical User
Jan 6, 2005
98
US
I'm having difficulties with my focus reading my ftm fix file. It keeps stating 0 records. Is there a problem with my master file?

Thanks for any assistance
 
Without seeing the Master file, it's tough to say whether there's a problem or not.

Typically, what you need is a FILEDEF, pointing to the .ftm file. If it was created by FOCUS, (i.e. ON TABLE HOLD), then the data is usually in 'internal format', so each record is NOT terminated by a C/R L/F. If that's the case, the FILEDEF should specify the LRECL (how many byte to read per record) and have a RECFM (record format) of F. That way, Focus will read the correct number of bytes, and NOT look for a C/R L/F terminator. Ther LRECL can be determined by adding the lengths of all the ACTUAL values in the Master File.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top