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
 

 

Change perticular field

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

New User


Joined: 28 Nov 2011
Posts: 11
Location: india

PostPosted: Fri Aug 10, 2012 9:38 am    Post subject: Change perticular field
Reply with quote

Hi,
I want to change a perticular field in all jcls ,how can i acheive this.(any short cut)
Back to top
View user's profile Send private message

Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Fri Aug 10, 2012 9:46 am    Post subject:
Reply with quote

There are couple of ways of doing it:

1. Use File-Aid, if you have it at your shop.
2. Use REXX "macro" to iterate through all the members of PDS of interest.
3. Possibly use IPOUPDTE.
4. If Sort is your option, keep in mind - SORT is NOT really the tool of choice for updating PDS members en masse. You need to devise a logic to use it in one of the steps. Somthing like this should work:
    a. Use IEBPTPCH to "punch" the selected members of the PDS into a sequential dataset.
    b. Use SORT to reformat the IEBPTPCH output into a standard IEBUPDTE-ready format.
    c. Edit the data to enable your changes.
    d. Use IEBUPDTE to create a PDS from the edited dataset.
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: Sat Aug 11, 2012 1:43 pm    Post subject:
Reply with quote

Analyse the changes, all options of continuation etc, plan the code, test it and see

Perhaps if you would find fit to actually tell us what needs changing it may help
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10274
Location: italy

PostPosted: Sat Aug 11, 2012 3:07 pm    Post subject: Reply to: Change perticular field
Reply with quote

Quote:
(any short cut)

it depends on the complexity of the jcl, the field to be changed, and Your skill icon_cool.gif
Back to top
View user's profile Send private message
chandrakanta

New User


Joined: 28 Nov 2011
Posts: 11
Location: india

PostPosted: Mon Aug 13, 2012 8:39 am    Post subject:
Reply with quote

Dear All,

Thanks for all your suggestions.I have got it by using file- aid search/update function.(3.6)

Thanks again.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Mon Aug 13, 2012 3:34 pm    Post subject:
Reply with quote

Good to hear that you got it working!
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 How to change 'K' or 'M' use Sort vice_versa DFSORT/ICETOOL 5 Thu May 18, 2017 7:11 am
No new posts READ A PACKED "NEGATIVE" FI... jdesouza CA Products 3 Tue May 02, 2017 11:43 pm
No new posts Alter &DATENS field in HEADER1 Angad DFSORT/ICETOOL 4 Mon Apr 24, 2017 11:49 am
No new posts SORT VSAM file with each field one by... maxsubrat DFSORT/ICETOOL 6 Tue Mar 14, 2017 1:07 pm
No new posts IMS DB-How to update a record (a sing... Nic Clouston IMS DB/DC 9 Thu Mar 09, 2017 4:38 pm


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