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

Mass delete of a line in JCL


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
itmanand

New User


Joined: 18 Dec 2008
Posts: 24
Location: Newyork

PostPosted: Wed Apr 15, 2009 4:11 am
Reply with quote

I have a JCL and I want to delete this line from 175 members.Is it possible?
// NOTIFY=&SYSUID
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: Wed Apr 15, 2009 4:34 am
Reply with quote

Hello,

Yes, if you run 175 steps. . .
Back to top
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Wed Apr 15, 2009 5:05 am
Reply with quote

Does the line before that end in a comma?
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: Wed Apr 15, 2009 6:04 am
Reply with quote

Hi Craig,

Good catch icon_smile.gif

d
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1702
Location: Australia

PostPosted: Wed Apr 15, 2009 9:30 am
Reply with quote

Hi,

you can always change it to // NOTIFY= if you are trying to prevent the job from shouting which should take care of the comma on the previous line.


Gerry
Back to top
View user's profile Send private message
itmanand

New User


Joined: 18 Dec 2008
Posts: 24
Location: Newyork

PostPosted: Wed Apr 15, 2009 9:46 am
Reply with quote

My Job has a comma before notify and i need to get rid of notify.
Can someone suggest me a sort to do this?
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Wed Apr 15, 2009 11:22 am
Reply with quote

Are you sure that SORT is the best product to go into a PDS, obtain all of the member names of the PDS, and then process those members ?

REXX & ISPF edit macros sounds a better option to me.
Back to top
View user's profile Send private message
mtaylor

Active User


Joined: 20 Feb 2009
Posts: 108
Location: Kansas City

PostPosted: Wed Apr 15, 2009 5:59 pm
Reply with quote

gcicchet wrote:
Hi,

you can always change it to // NOTIFY= if you are trying to prevent the job from shouting which should take care of the comma on the previous line.


Gerry


Simply go into each member and do a

Code:
c 'notify=sysuid' 'notify='


That's like 5 key strokes per member (after the first one) then take an early lunch. icon_cool.gif

At one former employer we used Fileaid to do this in batch.
Back to top
View user's profile Send private message
Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1249
Location: Richfield, MN, USA

PostPosted: Wed Apr 15, 2009 9:18 pm
Reply with quote

For 175 members, I think the REXX/ISPF edit macro solution sounds good.
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 DELETE SPUFI DB2 1
No new posts DSNTIAUL driven delete IBM Tools 0
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts How to delete a user's alias from the... JCL & VSAM 11
No new posts Reading dataset in Python - New Line ... All Other Mainframe Topics 22
Search our Forums:

Back to Top