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: 19243
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 All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts USAGE parameter of RACDCERT CONNECT c... All Other Mainframe Topics 2
No new posts creat new line command in front of Me... TSO/ISPF 4
No new posts c all command JCL & VSAM 11
No new posts Comment Lines getting in the way when... JCL & VSAM 0
No new posts Comment multiple lines in JCL for Tem... JCL & VSAM 4
Search our Forums:


Back to Top