Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Editing the content of multiple Files at the same time

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
ganga79

New User


Joined: 16 Nov 2005
Posts: 23

PostPosted: Fri Sep 22, 2006 10:30 am    Post subject: Editing the content of multiple Files at the same time
Reply with quote

Hi,

1)I have one PDS in that we have around 50 members all the members are having the error messages like SUBJECT: error information for this error information i have to change it to SUBJECT: SYSTEMNAME error information i have to edit this message for all the members like that ,for that i need to create a job ..

2) same as above in the second job i have to create to remove the SYSTEMNAME from the subject line..

i guess it is possible in REXX , but let me know same thing is possible through JCL,if any one knows please let me know

Thanks
Ganga

Ganga
Back to top
View user's profile Send private message

UmeySan

Active Member


Joined: 22 Aug 2006
Posts: 757
Location: Germany

PostPosted: Fri Sep 22, 2006 1:41 pm    Post subject:
Reply with quote

Hi !

You could use IBM-Utility IPOUPDATE to make changes in every member
of an PDS, if your not having an online-utility, perhaps PDSFAST.

//UPDAT1 EXEC PGM=IPOUPDTE,
//* PARM='UPDATE'
// PARM='CHECK'
//?INST1 DD DISP=SHR,DSN=IE31000.ISPF.ISPCLIST
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
OldString<NewString<
//

Regards, UmeySan
Back to top
View user's profile Send private message
ganga79

New User


Joined: 16 Nov 2005
Posts: 23

PostPosted: Fri Sep 22, 2006 4:04 pm    Post subject: Re: JCL
Reply with quote

hi UmeySan,
Thanks for your reply,Please explain in detail same IPOUPDTE i tried execute it giving problem.So if you provide indetail it will be more useful for me.Thanks..
Back to top
View user's profile Send private message
UmeySan

Active Member


Joined: 22 Aug 2006
Posts: 757
Location: Germany

PostPosted: Fri Sep 22, 2006 5:34 pm    Post subject:
Reply with quote

Hi !

Sorry, i forgot to tell you, that in the pds-lib you have to create a member named $$$COIBM. Thats only a dummy member wich you could
copy vom sys1.proclib to your pds..


//UPDAT1 EXEC PGM=IPOUPDTE, PARM='UPDATE'

You could start IPO with two kinds of parm. parm=check will only display you the result of changes without updating all the members.
Parm=update does the changes an updates the members.

//?INST1 DD DISP=SHR,DSN=This.IS.YOUR.PDS

That's the PDS-File where you have to do the changes

//SYSIN DD *
OldString<NewString<

OldString is changed to NewString, i.e.

aaa<zzz< = replace all 'aaa' by 'zzz'

Hope that satisfies, UmeySan
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 Merging 2 records at multiple rows wi... Bijesh DFSORT/ICETOOL 2 Wed Dec 06, 2017 1:50 am
No new posts Compare VSAM files using DFSORT pshongal DFSORT/ICETOOL 5 Thu Nov 23, 2017 10:24 am
This topic is locked: you cannot edit posts or make replies. Cobol to fetch the content by using s... arunc55 COBOL Programming 4 Fri Nov 17, 2017 1:25 pm
No new posts Split files upto certain limit based ... bubbu75 DFSORT/ICETOOL 5 Tue Nov 14, 2017 11:11 pm
No new posts Comparision with current time arunsoods DFSORT/ICETOOL 5 Thu Nov 09, 2017 10:37 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us