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 Rexx command to open an another text ... Bharath Vikraman PC Guides & IT News 7 Sat May 12, 2018 4:34 pm
No new posts IBM Pcomm macro startmacro command do... JGregoire IBM Tools 0 Wed May 09, 2018 12:16 pm
No new posts How to use STDPARM with df command maxsubrat JCL & VSAM 5 Fri May 04, 2018 7:57 pm
No new posts Reformatting and adding additional fi... Badbeef SYNCSORT 6 Thu Apr 05, 2018 4:45 pm
No new posts Need help with 002-030 ABEND in TSO R... Terry Tallian TSO/ISPF 1 Sat Mar 17, 2018 1:13 am

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