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

Command to Comment bulk of lines in JCL


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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
Reply with quote

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

Moderator Emeritus


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

PostPosted: Sat Apr 21, 2007 12:31 am
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts RACF - Rebuild SETROPTS command which... All Other Mainframe Topics 3
No new posts Routing command Address SDSF to other... TSO/ISPF 2
No new posts DTL - how to define key with stacked ... TSO/ISPF 3
No new posts LTJ command CA Products 4
No new posts Query on edit primary command CLIST & REXX 5
Search our Forums:

Back to Top