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

inser a line in all JCL's in a PDS


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
senthil_1983

New User


Joined: 16 Apr 2008
Posts: 14
Location: Chennai

PostPosted: Thu Jan 20, 2011 5:04 pm
Reply with quote

Hi,

My requirement to insert a line "//step1 exec pgm=sort"

in all the jcl's .Please help.
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Thu Jan 20, 2011 5:08 pm
Reply with quote

What have you researched yourself, and what do you suggest is the best way to do this.

Of course more information would be helpful, like insert the line where
Back to top
View user's profile Send private message
senthil_1983

New User


Joined: 16 Apr 2008
Posts: 14
Location: Chennai

PostPosted: Thu Jan 20, 2011 5:11 pm
Reply with quote

I need to Insert this line Before the Proc CALL

Eg:

<< NEW LINE>>
PROC Process
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Thu Jan 20, 2011 5:14 pm
Reply with quote

I never did see so much nonsense about a requirement. How stupid can one be pretending to be a SE (system engineer) to come up with such a
question.
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Thu Jan 20, 2011 5:15 pm
Reply with quote

What have you researched yourself

Click HERE for some info

Peter, methinks SE is a software engineer. Just another case of NOT using the correct terminology icon_rolleyes.gif
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Thu Jan 20, 2011 5:24 pm
Reply with quote

Expat,

that could be the case. But nevertheless what a SE means in the TS's
mind, in my world people had to do some hard learning to get that title.

Then what would you do with a PGM=SORT statement only, i believe that
SORT requires some other JCL statements. So in this case it will take care
of a lot of errors running the job streams.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Thu Jan 20, 2011 5:26 pm
Reply with quote

Silly Egotist
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Thu Jan 20, 2011 5:28 pm
Reply with quote

Dick icon_lol.gif

Peter He asked, I answered. If it fails then that's not really my problem is it icon_lol.gif
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Thu Jan 20, 2011 5:33 pm
Reply with quote

Dick,

nice one icon_lol.gif

I got a little berserk, so didnt think about other possibilities.
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 -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts Reading dataset in Python - New Line ... All Other Mainframe Topics 22
No new posts rewrite same SAY line CLIST & REXX 8
No new posts Merge files with a key and insert a b... DFSORT/ICETOOL 6
No new posts Repeat a DD line- comment and insert ... CA Products 3
Search our Forums:

Back to Top