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
 

 

Changing a text in a PDS for all the members.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
ap_mainframes

Active User


Joined: 29 Dec 2005
Posts: 181
Location: Canada

PostPosted: Thu Jun 29, 2006 2:57 pm    Post subject: Changing a text in a PDS for all the members.
Reply with quote

Hi,
I need to change some information ( specifically, Accounting info in a job) for all the members in a PDS.

Can anybody tell how to do it???

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

ksk

Active User


Joined: 08 Jun 2006
Posts: 356
Location: New York

PostPosted: Thu Jun 29, 2006 5:00 pm    Post subject: Re: Changing a text in a PDS for all the members.
Reply with quote

We can change required information using "CHANGE" command from "FIND/CHANGE" utility in File Manager.

For Ex:

Process Options Help

File Manager Find/Change Utility
Command ===> CHANGE B A Scroll CSR

Input Partitioned, Sequential or VSAM Data Set:
Data set name . 'ABC.DEF.EFG'
Member . . . . . * (Blank - selection, pattern - process list)
Volume serial . (If not cataloged)
Record count . . ALL (Number of records to be searched)

Listing data set . SRCHFOR.LIST

Enter "/" to select option Listing Option ISPF Packing
JCL Source format / Immediate change 1 1. Long 1 1. Asis
Use REXX proc Batch execution 2. Summary 2. Pack
REXX no update Exclusive (DISP=OLD) 3. Unpack
Stats off 4. None
5. Skip
Process List:

In the above example, all "B"s will be chnaged to "A" in "ABC.DEF.EFG" PDS.

ksk
Back to top
View user's profile Send private message
shreevamsi

Active User


Joined: 23 Feb 2006
Posts: 305
Location: Hyderabad,India

PostPosted: Thu Jun 29, 2006 5:12 pm    Post subject:
Reply with quote

If User Panel is available in the main menu

Try this option

U.P.1.3.6

This will takeyou to the global Update Option

~Vamsi
Back to top
View user's profile Send private message
param_rajesh_2001
Warnings : 1

New User


Joined: 23 Jun 2006
Posts: 18
Location: Bangalore

PostPosted: Fri Jun 30, 2006 2:10 pm    Post subject:
Reply with quote

Hi U can use FILEAID utility to update all the common chnages .
Please find the code for

//xxxxxxx JOB (3633,#500510),'FILEAID update',CLASS=R,
// MSGCLASS=U,
// NOTIFY=&SYSUID
//**
//STEP010 EXEC PGM=FILEAID
//SYSUDUMP DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSLIST DD SYSOUT=*
//SYSTOTAL DD SYSOUT=*
//DD03 DD DISP=SHR,DSN=TEST.JOBLIB YOUR SOURCE JCL pds
//SYSIN DD *
$$DD03 UPDATE ME=9999,
EA=(1,0,T"account1",C"acoount2")
//**

where account1 is orgional account info
account 2 - to be changed account info
Back to top
View user's profile Send private message
ap_mainframes

Active User


Joined: 29 Dec 2005
Posts: 181
Location: Canada

PostPosted: Thu Jul 06, 2006 9:25 am    Post subject:
Reply with quote

hi all,

Thanks for the help.

Will try and let you know.
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 -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to update a portion of text in a ... Bill Woodger DFSORT/ICETOOL 25 Wed Nov 09, 2016 9:41 pm
This topic is locked: you cannot edit posts or make replies. Sort card to replace text using cross... Susanta SYNCSORT 32 Tue Sep 13, 2016 4:17 pm
No new posts changing z/os unicode conversion service meykh2014 All Other Mainframe Topics 0 Tue Jul 12, 2016 10:49 am
No new posts Single step utility for compare and u... ramprakashn JCL & VSAM 5 Fri Apr 29, 2016 3:43 pm
No new posts Only text from varchar Seppe DB2 8 Thu Apr 21, 2016 10:42 pm


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