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
 

 

Eliminating the job cards from all the members in a pds.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
bobvilch

New User


Joined: 11 Oct 2006
Posts: 3

PostPosted: Wed Oct 11, 2006 11:07 pm    Post subject: Eliminating the job cards from all the members in a pds.
Reply with quote

I need to modify all the members in a pds. I need to remove all the job cards and certain comment lines. I was able to execute it on 1 pds, but not all the members at 1 time. From what I have researched, it looks as if I can only do 1 member at a time. Please tell this is not so!
This is what I execute (not all member begin with the same nbr. so I set them to 100.
//SYSIN DD *
./ CHANGE NAME=GDGPCP
./ NUMBER NEW1=100,INCR=100
./ ENDUP
/*
//
After the change I execute the DELETE
./ DELETE SEQ1=100,SEQ2=100
I don't have to use ICETOOL, anything just to get it done. Once I get past this hump, this process will be used in many departments.
Any help would be greatly appreciated.
Bob Vilches
Back to top
View user's profile Send private message

superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Thu Oct 12, 2006 6:39 am    Post subject: Re: Eliminating the job cards from all the members in a pds.
Reply with quote

Bob, I'm sorry, but I don't recognize that sytax you're using that starts with ./ .

May I ask what utility you're using?
Back to top
View user's profile Send private message
bobvilch

New User


Joined: 11 Oct 2006
Posts: 3

PostPosted: Thu Oct 12, 2006 8:21 pm    Post subject:
Reply with quote

I am using PGM=IEBUPDTE. I found this syntax './' in the examples.
./ CHANGE NAME=member name , seems to take one member name. I would like to know if there is a way to perform this on multiple members with out having to list each and everyone. I tried ICETOOL with no success. I saw some REXX examples but I am not a REXXpert and would need some pointers (ie how and where to concatenate my pds with the REXX commands) to be able to execute the REXX member.

Thanks for any assistance I can get in this matter.
Back to top
View user's profile Send private message
Kevin

Active User


Joined: 25 Aug 2005
Posts: 234

PostPosted: Thu Oct 12, 2006 11:56 pm    Post subject: Re: Eliminating the job cards from all the members in a pds.
Reply with quote

Here's two processes that I might do for a quick and dirty solution without a lot of programming:

1. "Flatten" the PDS into a sequential dataset with the IEBPTPCH utility.

2. Use DFSORT to delete the records that match the criteria as given, reformat the existing records as needed, and to build the IEBUPDTE ./ records for each member.

3. Use IEBUPDTE to build the changed members to the PDS.

<< OR >>

1. Build a member list.

2. Dynamically build and submit a job using DFSORT and the first member in the list to delete the records that match the criteria as given.

3. Delete the processed member from the list.

4. Go back to step 2 until there are no more members to process.
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 -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Copying Panvalet members to PDS LOGESHWARAN K CA Products 4 Mon Mar 06, 2017 10:45 am
No new posts Updating the counters after eliminati... PANDU1 DFSORT/ICETOOL 12 Mon Nov 21, 2016 9:47 am
No new posts Cards mainframe developer requirement... capricorn Mainframe Jobs 0 Sun Sep 11, 2016 9:57 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 Differences between copying members b... E.LAI TSO/ISPF 8 Wed Mar 30, 2016 12:35 pm


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