IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to comment 100 cobol line at one time.


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Rock Xu

New User


Joined: 04 Dec 2009
Posts: 15
Location: Shanghai China

PostPosted: Tue Jan 18, 2011 7:57 am
Reply with quote

Hello, Everyone:
I don't want to type the '*' one by one. Can anybody tell me some smart way?

Regards.
Back to top
View user's profile Send private message
Guest







PostPosted: Tue Jan 18, 2011 8:37 am
Reply with quote

Hi,
You can use the "OVERLAY" command to put * in all lines.

Code:

000001        JKGLK     
0c0002       *         
 oo           LGLASVLV 
000004        KLSHDFO;SH
000005        KJFGLSDFL
000006        GBSDLABLA
oo            HVBASDKFKB


Code:

 JKGLK     
*           
*LGLASVLV   
*KLSHDFO;SH
*KJFGLSDFL 
*GBSDLABLA 
*HVBASDKFKB


devil13
There is always a better solution
Back to top
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Tue Jan 18, 2011 9:05 am
Reply with quote

Set bounds and use the Change command in TSO/ISPF one time would be one way to do it.
Back to top
View user's profile Send private message
Rock Xu

New User


Joined: 04 Dec 2009
Posts: 15
Location: Shanghai China

PostPosted: Tue Jan 18, 2011 10:03 am
Reply with quote

Success!
Devil13 and Robert Sample,
Thank you for your help.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Tue Jan 18, 2011 4:49 pm
Reply with quote

also, you can add labels and use
Code:
C ALL ' ' '*' 7 7 .A .B


O.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
Search our Forums:

Back to Top