Ian Dalton Posted November 6, 2020 Share Posted November 6, 2020 Has this legacy format been replaced as we have discovered some current code that runs ok that uses this format Link to comment Share on other sites More sharing options...
NYCBabak . Posted November 6, 2020 Share Posted November 6, 2020 Syntax is still in the doc and it still works. But admittedly, Ive never seen it in the GUI. https://webfocusinfocenter.informationbuilders.com/wfappent/TL5s/TL_lang/source/out100.htm#dout1010165 Link to comment Share on other sites More sharing options...
Ian Dalton Posted November 6, 2020 Author Share Posted November 6, 2020 Ok many thanks for the link and confirmation. Assume there is no replacement that does the same thing as LOTUS sounds pretty dated ! Link to comment Share on other sites More sharing options...
NYCBabak . Posted November 6, 2020 Share Posted November 6, 2020 It creates a .prn file which contains text in " and comma separated columns. The closest format to that is HOLD FORMAT COM. Link to comment Share on other sites More sharing options...
Ian Dalton Posted November 6, 2020 Author Share Posted November 6, 2020 Yes COM is similar but ignores spaces. Will stick with LOTUS as it seems to be still an official format. Many thanks for your advice. Link to comment Share on other sites More sharing options...
David Briars Posted November 6, 2020 Share Posted November 6, 2020 Yes LOTUS continues to be supported, per the Creating Reports manual, so no reason to change. For a future new requirement with the need to create a delimited sequential file with trailing blanks, you would probably want to check out the DFIX HOLD FORMAT. Link to comment Share on other sites More sharing options...
Warren Hinchliffe Posted November 8, 2020 Share Posted November 8, 2020 I agree with David. DFIX is configurable and probably a much better option for the future. Link to comment Share on other sites More sharing options...
Ian Dalton Posted November 11, 2020 Author Share Posted November 11, 2020 Thanks guys - is DFIX new Link to comment Share on other sites More sharing options...
Manoj Chaurasia Posted November 11, 2020 Share Posted November 11, 2020 No it has been around for a long time. Link to comment Share on other sites More sharing options...
Ian Dalton Posted November 12, 2020 Author Share Posted November 12, 2020 Thanks Chuck - just one point though, I played around and the closest I can get to FORMAT LOTUS is FORMAT DFIX DELIMITER , ENCLOSURE " PRESERVESPACE YES however sadly it doesnt preserve leading spaces for the numeric fields. See attached fileLOTUSvDFIX.txt (3.5 KB) Link to comment Share on other sites More sharing options...
Manoj Chaurasia Posted November 12, 2020 Share Posted November 12, 2020 Gotcha Well at least you can stick with FORMAT LOTUS you just have to hardcode it into the code. Link to comment Share on other sites More sharing options...
Ian Dalton Posted November 13, 2020 Author Share Posted November 13, 2020 Yes will stick with LOTUS but DFIX has possibilities and flexibility although unable to produce fixed length record output if you have numeric data. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now