I am using FILEDEF to read a file in, and it works just fine .. except I am reading in items that are 10 characters long (Ex: SF12345678) AND when I run it, it only captures 9 of the characters (Ex: SF1234567). Can a FILEDEF only read in a certain amount of characters? Any ideas?This message has been edited. Last edited by: <Kathryn Henning>,
WebFOCUS 8 Windows, All Outputs
July 10, 2015, 02:04 PM
MartinY
Look at your master file and fields definition (TABLE FILE ...), it may not be as defined as your thought, 'cause I do use it and read more than 10 characters.
WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF In Focus since 2007
July 10, 2015, 02:28 PM
krhapner
It is defined as 'A10,' this is not the problem.
WebFOCUS 8 Windows, All Outputs
July 10, 2015, 02:30 PM
krhapner
I am reading in an outside file.. I am reading in a list of ID's.
WebFOCUS 8 Windows, All Outputs
July 10, 2015, 02:57 PM
Tom Flynn
APP FILEDEF DDNAME DISK DRIVE:/FOLDER/FOLDER/FILENAME.TXT (RECFM F LRECL 10
OR
APP FILEDEF DDNAME DISK DRIVE:/FOLDER/FOLDER/ FILENAME.TXT (RECFM V LRECL 10
I am not sure if I understand what you are talking about. I am reading in an ftm file that is in my P: Drive. It contains a list of 10-digit/character ID numbers. It is not from any master file, but I can use these ID numbers to compare to another table with the same ID numbers to say... print out a first name that matches the ID number.
WebFOCUS 8 Windows, All Outputs
July 10, 2015, 03:17 PM
Tom Flynn
If you are using FILEDEF, then the DDNAME is the Master name.