View previous topic :: View next topic |
Author |
Message |
misi01 Advanced
Joined: 02 Dec 2002 Posts: 629 Topics: 176 Location: Stockholm, Sweden
|
|
Back to top |
|
|
semigeezer Supermod
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
|
Posted: Thu Feb 20, 2014 11:44 am Post subject: |
|
|
It has been a decade since I did this, but ==ERR> applies to data lines, not message lines and the easiest way to produce one is to do a change command that will fail on that line. I used to do a change command that I knew would fail due to line expansion beyond hte record length. Something along the lines of changing things
Code: | C P'=' ' ' LAST .XXX .XXX /* try to change last character to multiple blanks on one line */ |
I think that will do it but play around with this idea if my example is not quite right. For multiple lines you will need more logic, maybe to do each line individually or changing the last character (as determined by data_width). _________________ New members are encouraged to read the How To Ask Questions The Smart Way FAQ at http://www.catb.org/~esr/faqs/smart-questions.html. |
|
Back to top |
|
|
misi01 Advanced
Joined: 02 Dec 2002 Posts: 629 Topics: 176 Location: Stockholm, Sweden
|
Posted: Fri Feb 21, 2014 8:32 am Post subject: |
|
|
Thanks semigeezer. Will test your suggestion. _________________ Michael |
|
Back to top |
|
|
|
|