Line Separator <CR><LF> appears at end of line, even only <LF> is passed in Parameters

book

Article ID: 196686

calendar_today

Updated On:

Products

CA Test Data Manager (Data Finder / Grid Tools)

Issue/Introduction

We are performing data generation for fixed width files. We want the line separator to be LF and hence we passed the below paramters :

PARAMETERS,HEADER=Y,TRAILER=Y,STYLE=COMPLEX,LINE_TERMINATOR='<LF>',LINE_SEPARATOR='<LF>',OUTPUT_FILE_EXT=.DAT,FILEMASK=TS2DEF_acct_~date~

Eventhough we didnt include <CR> here, the output file generated in self service portal ends with CRLF.

Environment

Release : 4.9

Component : CA Test Data Manager

Resolution

We do not have check for <LF> that is why we are adding the default <CR><LF>, for line feed we need to add just lf rather than <LF> for line feed.

 

Here is the header that you can use-

PARAMETERS,HEADER=Y,TRAILER=Y,STYLE=COMPLEX,LINESEP=lf,OUTPUT_FILE_EXT=.DAT,FILEMASK=TS2DEF_acct_~date~