|
View previous topic :: View next topic
|
| Author |
Message |
sandra
New User
Joined: 06 Apr 2005 Posts: 27
|
|
|
|
| In my cobol pgm ,in the edit mode,I need to delete all the fields present from colum 66 to 70.Is there any command /short cut to delete these columns? |
|
| Back to top |
|
 |
priya
Moderator

Joined: 24 Jul 2003 Posts: 568 Location: Bangalore
|
|
|
|
Go to Line 66 and type DD
Then Come to Line no 70 to type DD.
Now Press Enter. |
|
| Back to top |
|
 |
grepusr3
New User
Joined: 10 May 2005 Posts: 29
|
|
|
|
The question here is to delete columns (and not the lines)!
Please try these command in order listed under ISPF/PDF editor and confirm with a reply.
Command ===> reset
Command ===> bounds 66 70
Command ===> change p'^' x'40' ALL
Command ===> reset c
or
Command ===> reset
Command ===> change p'^' x'40' 66 70 ALL
Command ===> reset c
This will change all character (p'^') in columns 66 through 70 to a blank (x'40') in ALL lines. It will leave other colums as is and will not delete lines.
-Pelad |
|
| Back to top |
|
 |
SteveConway
New User
Joined: 26 May 2005 Posts: 28 Location: Northern VA, USA
|
|
|
|
Similarly, coding
| Code: |
| c p'=' ' ' 66 70 all |
will change -anything- contained within columns 66 to 70 to a blank (x'40'). The '=' is the key, it says disregard what is in the column now, whether numeric, character, or undefined, and change it to the given value. |
|
| Back to top |
|
 |
|
|