Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Command to Comment bulk of lines in JCL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
Geethi

New User


Joined: 03 Mar 2007
Posts: 10
Location: US

PostPosted: Fri Apr 20, 2007 11:54 pm    Post subject: Command to Comment bulk of lines in JCL
Reply with quote

Hi,

Waht is the command to comment from 5th to 200th line in a JCL ?

Thanks,
Back to top
View user's profile Send private message

Geethi

New User


Joined: 03 Mar 2007
Posts: 10
Location: US

PostPosted: Sat Apr 21, 2007 12:04 am    Post subject:
Reply with quote

Or how can we do that ?
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Sat Apr 21, 2007 12:31 am    Post subject:
Reply with quote

Hello,

In the editor, shift lines 5-200 to the right 3 positions (as long as your jcl is not too wide) and fill positions 1-3 with //* for lines 5-200.
Back to top
View user's profile Send private message
Shirazpasha

New User


Joined: 24 Nov 2006
Posts: 14
Location: India

PostPosted: Sat Apr 21, 2007 1:54 pm    Post subject: Re: Command to Comment bulk of lines in JCL
Reply with quote

Dick,
Just an addition to your response.

Geeti,
To fill positions 1-3 with //* for lines 5-200 after you shift them to the right 3 positions, you can do the following.

1. Label line 5 with some character say .A
2. Label line 200 with some other character say .B
3. Now type the following command in the command line.

Code:
C ALL 1 .A .B ' ' '//*'


Regards,
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts OUTREC with ALter Command scorp_rahul23 DFSORT/ICETOOL 1 Wed Nov 22, 2017 3:10 pm
No new posts MQ command in option 6 of ISPF! Vignesh Sid All Other Mainframe Topics 3 Tue Sep 26, 2017 6:01 pm
No new posts How to change a string containing the... chong.zhou TSO/ISPF 6 Tue Aug 29, 2017 4:54 pm
No new posts Failure after DIR command Hank Watson All Other Mainframe Topics 2 Tue Aug 29, 2017 3:14 am
No new posts Command to find TMEMBER name for a TPIPE Siva NKK Kothamasu IMS DB/DC 0 Wed Aug 16, 2017 6:08 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us