Quantcast
Channel: IBM Mainframe Computers Forums
Viewing all articles
Browse latest Browse all 8500

JCL & VSAM :: RE: Comment multiple lines in JCL

$
0
0
Author: Mohammad Rizwan
Subject: Re: Comment multiple lines in JCL
Posted: Sat Jun 10, 2017 2:19 am (GMT 5.5)

pavithraa wrote:
Could anyone please let me know how to comment multiple lines in JCL..


Yes you can.
#1. First shift the line 3 columns to the right. using below Line block command.
))3
line1...
line2...
))

It'll move all the required line 3 columns to the right.

#2. now use below command to change the string. (make sure 3 spaces are there in below command)
C ' //' '//*//' ALL

#3. There will be some lines remaining (SYSIN,etc).. which are not commented.
You need to comment them manually icon_lol.gif by copying (Ctrl+C) first 3 columns of lines vertically (multiple line) and just paste (Ctrl+V) wherever you find uncommented fields.

#4. To uncomment multiple lines, use below comment.
((3
line1..
line2..
((
_________________
Rizwan.


Viewing all articles
Browse latest Browse all 8500

Trending Articles