Skip to Main Content
IBM Z Software


This portal is to open public enhancement requests against IBM Z Software products. To view all of your ideas submitted to IBM, create and manage groups of Ideas, or create an idea explicitly set to be either visible by all (public) or visible only to you and IBM (private), use the IBM Unified Ideas Portal (https://ideas.ibm.com).


Shape the future of IBM!

We invite you to shape the future of IBM, including product roadmaps, by submitting ideas that matter to you the most. Here's how it works:

Search existing ideas

Start by searching and reviewing ideas and requests to enhance a product or service. Take a look at ideas others have posted, and add a comment, vote, or subscribe to updates on them if they matter to you. If you can't find what you are looking for,

Post your ideas
  1. Post an idea.

  2. Get feedback from the IBM team and other customers to refine your idea.

  3. Follow the idea through the IBM Ideas process.


Specific links you will want to bookmark for future use

Welcome to the IBM Ideas Portal (https://www.ibm.com/ideas) - Use this site to find out additional information and details about the IBM Ideas process and statuses.

IBM Unified Ideas Portal (https://ideas.ibm.com) - Use this site to view all of your ideas, create new ideas for any IBM product, or search for ideas across all of IBM.

ideasibm@us.ibm.com - Use this email to suggest enhancements to the Ideas process or request help from IBM for submitting your Ideas.

Status Delivered
Categories Other/Unknown
Created by Guest
Created on Aug 3, 2010

Editor enhancement : better handling of column 72

Copy these 2 lines to the lpex editor:
dcl y fixed bin(31);
/* TEST TEST TEST TEST TEST TEST */

Place the cursor after ?;? in the first line.Press delete.
It preserves the 27 blanks giving us:
dcl y fixed bin(31); /* TEST TEST TEST TEST TEST TEST */

The last ?TEST */? is located after col 72. If you place the cursor after ?bin(31);? and deletes the blanks, you will leave the trailing ?TEST */? in col 73.

A more useful behavior is to trim the second line before appending it to the line above so the result would be:
dcl y fixed bin(31);/* TEST TEST TEST TEST TEST TEST */

Copy/Paste:

Example 1:
x = /* TEST TEST TEST TEST TEST TEST TEST TEST TEST TEST */
y = 123456;

In this example ?*/? is located at col 72.
Now I want to copy ?123456;? and paste it after ?x = ? so the code looks like:
x = 123456; /* TEST TEST TEST TEST TEST TEST TEST TEST TEST TEST */
y = 123456;
If you copy by using ctrl+c and try to paste after ?x =? using ctrl+v, nothing happens. This is because the editor tries to shift the comment to the right, but is prevented by the col 72 barrier.

You can use the block commands to achieve this, but you need to be aware of space requirements at the target position.

I will suggest this new feature:

Enable CTRL+SHIFT+V as an alternative paste or change ctrl+v to this behavior.
When in ?replace? mode, let CTRL+SHIFT+V paste what is copied by CTRL+C , as an overlay, the same way as alt+z does when using the block commands.
For example:
x= /* TEST */
y=123456;

copy ?123456;?
Place cursor after ?x=? and paste.
Expected result:
x=123456; TEST */

In ?insert? mode a more adaptive behavior is wanted, illustrated by these examples:
copy ?123456;?
In these examples, place the cursor after ?x=? and paste:

Ex 1:
There are 5 spaces between ?=? and ?/?.
x= /* TEST */
Expected result:
x=123456;/* TEST */

Ex 2:
There are no spaces between ?=? and ?/?.
x=/* TEST */
Expected result:
x=123456;/* TEST */

Ex 3:
There are 10 spaces between ?=? and ?/?.
x= /* TEST */
Expected result:
x=123456; /* TEST */

Ex 4:
The comment is ending in column 72 so there is no space to shift. Make a line break at the first blank that allows to paste the content. In this case between the last and the second last TEST.

x = /*TEST TEST TEST TEST TEST TEST TEST TEST TEST TEST TEST TEST */
Expected result:
x =123456;/*TEST TEST TEST TEST TEST TEST TEST TEST TEST TEST TEST
TEST */
This will in most cases also work fine when breaking occurs in a code line and not in a comment as in my example.

In Cobol comments and code are not mixed on the same line, but still you may want to insert a text into a comment, and in this case breaking can occur as I describe, except that the new line must be made a comment as well. Also when breaking lines in cobol, the rules of ?A? and ?B? area must be obeyed.

Idea priority Medium
  • Guest
    Reply
    |
    Sep 14, 2015

    Due to processing by IBM, this request was reassigned to have the following updated attributes:
    Brand - Servers and Systems Software
    Product family - Programming Languages
    Product - Developer for System z

    For recording keeping, the previous attributes were:
    Brand - Rational
    Product family - Design & development
    Product - Developer for System z

  • Guest
    Reply
    |
    Jun 6, 2013

    Delivered for RDz V9