Changing strings in members by a batch job.



TSO Programming, ISPF, SDF, SDSF and PDF, FTP, TCP/IP Concepts, SNA & SNA/IP etc...

Changing strings in members by a batch job.

Postby Mehdi shri » Sat Jun 09, 2012 1:34 pm

Hi freinds
I want to change an string in a series of JCL's. For example change
"DSN=IMS.PRJ01.OLP01" to "DUMMY"
Cause of many JCL's must be have "DUMMY" instead of "DSN=IMS.PRJ01.OLP01", it's difficult and time consuming to do this changes one by ony in JCL source. Is there a utility to do this by a batch job? And what is this form and syntax?
Mehdi shri
 
Posts: 138
Joined: Sun Jan 16, 2011 6:30 pm
Has thanked: 57 times
Been thanked: 0 time

Re: Changing strings in members by a batch job.

Postby prino » Sat Jun 09, 2012 1:42 pm

Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy
User avatar
prino
 
Posts: 641
Joined: Wed Mar 11, 2009 12:22 am
Location: Vilnius, Lithuania
Has thanked: 3 times
Been thanked: 29 times

Re: Changing strings in members by a batch job.

Postby NicC » Sat Jun 09, 2012 2:12 pm

The problem with PDSUPDTE is that it is not IBM supplied. I can't connect to the website at the moment but I think it may be freeware and many plces would not allow this. I would search the IBM utilities manual to see what is there - mine is on a flash drive that is not on this system so cannot look - but try IEBUPDTE. Otherwise you can write a rexx/ispf job program and run that under IKJEFT01 or one of its sisters. (samples of what you would need can be found on this board.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic

These users thanked the author NicC for the post:
Mehdi shri (Sat Jun 09, 2012 2:57 pm)
NicC
Global moderator
 
Posts: 3025
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 136 times

Re: Changing strings in members by a batch job.

Postby MrSpock » Sat Jun 09, 2012 7:44 pm

IPOUPDTE maybe? Or maybe write a simple batch application using EDIT. Or, IEBPTPCH the PDS to a sequential dataset, apply the changes there, and then IEBUPDTE the data back into a PDS.

These users thanked the author MrSpock for the post:
Mehdi shri (Sat Jun 09, 2012 10:33 pm)
User avatar
MrSpock
Global moderator
 
Posts: 809
Joined: Wed Jun 06, 2007 9:37 pm
Location: Raleigh NC USA
Has thanked: 0 time
Been thanked: 4 times


Return to TSO & ISPF

 


  • Related topics
    Replies
    Views
    Last post