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
 

 

Mass delete of a line in JCL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Mass delete of a line in JCL
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

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Wed Apr 15, 2009 4:34 am    Post subject:
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    Post subject:
Reply with quote

Does the line before that end in a comma?
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: Wed Apr 15, 2009 6:04 am    Post subject: Reply to: Mass delete of a line in JCL
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: 1703
Location: Australia

PostPosted: Wed Apr 15, 2009 9:30 am    Post subject:
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Wed Apr 15, 2009 11:22 am    Post subject:
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    Post subject:
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    Post subject:
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    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 Count the length of the record & ... sreekusr DFSORT/ICETOOL 4 Thu Mar 23, 2017 7:52 pm
No new posts TSO or command line utility to genera... kishpra JCL & VSAM 3 Thu Mar 09, 2017 1:11 am
No new posts Mass comment and edit elixir1986 IBM Tools 3 Thu Mar 02, 2017 10:09 pm
No new posts JCL to delete component in a package sundaram.naveen Compuware & Other Tools 14 Tue Nov 29, 2016 6:21 pm
No new posts How to delete second instance from Fl... Gunapala CN DFSORT/ICETOOL 6 Tue Oct 18, 2016 11:42 pm


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