<div dir="ltr"><div>I'm trying to write an export that will make first record the client name pulled from a variable</div><div>Then append that file and make the next line the column headers for my csv file</div><div>Then append again to same file with data from the records selected...</div><div><br></div><div>I'm doing  export ascii hdr=(file) f=, o=" c=" r=\n    to write the header, then I say in processing goto part2</div><div><br></div><div>part2  is  export ascii col -A=(file) f=, o=" c=" r=\n  then do column headings using -A flag to append export</div><div>then goto part3</div><div><br></div><div>part3 is export ascii jmg -A=(file) f=, o=" c=" r=\n then assign data from about 10 fields</div><div><br></div><div>There are 13 records that get selected, but when it runs all I get is the hdr data populated on 13 different lines.....no column headings or data....</div><div><br></div><div>What is wrong with the -A syntax I'm using??</div><div><br></div><div>thanks</div><div><br></div><div>Scott Ullmann</div><div>PDM</div><div><br></div></div>