Does anyone have a sample COBOL program that can open COM1: serial port
Cybersecurity
DevOps Cloud
IT Operations Cloud
If an answer to your question is correct, click on "Verify Answer" under the "More" button. The answer will now appear with a checkmark. Please be sure to always mark answers that resolve your issue as verified. Your fellow Community members will appreciate it!  Learn more
Does anyone have a sample COBOL program that can open COM1: serial port
Hi Alex,
I have the impression you got your answer for this in the following Community topic:
Please let us know if that's not the case.
Yes I did and was able to connect to COM1:. The display pole I am using has 2 rows of 20 characters each, I am having an issue where I want to clear out the characters on both lines and am sending spaces to them,but they are not removed, any ideas?
Yes I did and was able to connect to COM1:. The display pole I am using has 2 rows of 20 characters each, I am having an issue where I want to clear out the characters on both lines and am sending spaces to them,but they are not removed, any ideas?
Sound very strange. What if you send a valid string of non-space characters? What about 40 nulls. What about 40 "-" and if that works what about prefixing your 40 spaces with a single non-space character? This type of display seldom has command characters but have you checked the manual? There may be some commands (maybe non-ascii characters prefixed with an Esc or similar)