Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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 Fail to change physical VSAM filename... jacobdng CICS 7 Fri Jan 20, 2017 12:36 pm
No new posts syncsort: copy lines after the keyword shreya19 SYNCSORT 7 Fri Dec 02, 2016 9:47 am
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 7 Fri Nov 18, 2016 1:48 pm
No new posts SDSF Command Avtrix CLIST & REXX 4 Fri Sep 30, 2016 11:13 am
No new posts How to find a CICS resource used in C... Arunkumar Chandrasekaran CICS 8 Thu Sep 29, 2016 1:45 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us