• Welcome to the upgraded JDELIST forum and thank you for your patience.
    Please restrict discussions and issues regarding the new forum software to the Off Topic forum. We will be monitoring that forum for issues.
    If you have trouble logging in, please reset your password using the forgotten password form: https://www.jdelist.com/community/index.php?lost-password/
    If you are unable to successfully reset your password, please contact us: Click here!
    We hope that you enjoy the upgraded forum.
  • Introducing Dark Mode! Switch by clicking on the lightbulb icon next to Search or by clicking on Default style at the bottom left of the page!

cpytostmf from printqueue

jroux

Member
Hello,

I try to get csv files from printqueue using cpytostmf command.
The copy works, but the resulting file ends with a line of NULL which causes issues in the software thats uses it.

That's the same with pdf files, and also with cpytoimpf command.

00011,905003,C75913,GIE fees Rebill,USD,-218232.52,EUR,-198393.20,8,2018CRLF
00011,930005,C69150,Other Current tax,USD,6547.56,EUR,5952.33,8,2018CRLF
FOOTER,640,.08CRLF
NULNULNULNULNULNULNULNULNULNULNULNULNULNULNULNULNULNULNULNULNUL

Does anyone know how to get rid from that line ?
 

slandess

Well Known Member
jroux -
Need more information - please show all of the steps/commands that you are using, if it is in a CLP, show the code from the program.
 
Top