Highlighted
Absent Member.
Absent Member.
1182 views

How to expand Green Screen to 120 columns?

Jump to solution

Hi All,


I'm programming with the default green screen, which is 80 columns wide. How do you set the screen size to 120 columns? Can you also expand the row length as well?

Thanks for your help.


Best,

Peter

0 Likes
1 Solution

Accepted Solutions
Highlighted
Micro Focus Expert
Micro Focus Expert

RE: How to expand Green Screen to 120 columns?

Jump to solution

Hi Peter,

It would be good to confirm which Operating System you are using. Is this Windows? If so, the window size when you run a COBOL program through the Eclipse IDE is controlled by the system settings for the "cmd.exe" executable, as this is used for executing character based programs.

Try this: While the application is running from the IDE (the character window is displayed) right click on the title bar, and choose Properties. Then, choose Layout tab, and change the Window Size so that the width is 120 columns. Finally, click OK to close the Properties dialog. The next time you run your program through the IDE, you should see the wider window.

Blair McDonald

View solution in original post

0 Likes
2 Replies
Highlighted
Absent Member.
Absent Member.

RE: How to expand Green Screen to 120 columns?

Jump to solution

Okay, I found the screen size example and I can now display 132 columns wide. However, when I run the code in the command console it opens up 80 columns wide and I then need to expand the window to 132 wide. How do I default it to a wider Console windows when using eclipse to compile and run the program.

Thanks for your help.

0 Likes
Highlighted
Micro Focus Expert
Micro Focus Expert

RE: How to expand Green Screen to 120 columns?

Jump to solution

Hi Peter,

It would be good to confirm which Operating System you are using. Is this Windows? If so, the window size when you run a COBOL program through the Eclipse IDE is controlled by the system settings for the "cmd.exe" executable, as this is used for executing character based programs.

Try this: While the application is running from the IDE (the character window is displayed) right click on the title bar, and choose Properties. Then, choose Layout tab, and change the Window Size so that the width is 120 columns. Finally, click OK to close the Properties dialog. The next time you run your program through the IDE, you should see the wider window.

Blair McDonald

View solution in original post

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.