FLAM Issue Tracker - FL5
View Issue Details
0000418FL52.2 Subprogram FLUC (CONV)public2014-04-28 12:502014-06-15 10:40
Falk Reichbott 
Falk Reichbott 
0000418: read.text() works for record oriented files based on record bounderies if no delimiter found in the data
To read record oriented files as text it would be useful to leave the record length information if no delimiter in the data. Means if the record length the correct delimiter for the data, then the record length will be uses to determin the text record.
First design:

It would be possible to add with an addtional block conversion '\n' to the data to build a correct text block, but this will result additional copies of the data. It would be much better to mark the data as text record and implement a new text formatting method if the data allready markt as text records. Currently in such case a error are produced (fio.txt()+fmt.txt()=error). If BIORIO detects there is no delimiter in the data, then BIORIO provides each record as text record. FMTTXT must then not parse the date for delimiters, it simply use the exiting records as text element and add a rest element with '\n' as value.
No tags attached.
Issue History
2014-04-28 12:50Falk ReichbottNew Issue
2014-04-28 12:50Falk ReichbottStatusnew => assigned
2014-04-28 12:50Falk ReichbottAssigned To => Falk Reichbott
2014-06-15 10:40Falk ReichbottNote Added: 0000493
2014-06-15 10:40Falk ReichbottStatusassigned => resolved
2014-06-15 10:40Falk ReichbottFixed in Version => 5.0
2014-06-15 10:40Falk ReichbottResolutionopen => fixed

Falk Reichbott   
2014-06-15 10:40   
This issue are implemented in version 5.0.12. Addtional a new ISPF line command FLVIEW was introduced which shows the content of each kind (normal host data set incl. VSAM, GZIP, BZIP2 and XZ-Files, binary transfered files from other platforms aso.) of file.

The feature can be used with our record or byte interface to read each kind of file with the same open. Only the file name are different.

Currently we work on a new read method called auto, which makes binary formatting for binary data, text formatting for text data and XML formatting for XML data. With this new method you must not know wich kind of data you read, you will always get best formated records.