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: 10210
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 INVALID FIELD OR CONSTANT IN SORTOF ?? Ron Klop DFSORT/ICETOOL 8 Wed Jan 11, 2017 3:44 pm
No new posts Performing arithmetic on input field zh_lad DFSORT/ICETOOL 31 Tue Dec 06, 2016 8:04 pm
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts How to split the records using the am... vnktrrd DFSORT/ICETOOL 24 Fri Oct 28, 2016 7:33 pm
No new posts Sort records based on numeric field. Alks SYNCSORT 2 Wed Oct 19, 2016 10:14 pm


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