IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

REXX for finding a member in 2 libraries and copying in PDS


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
anshul_gugnani

New User


Joined: 02 Nov 2009
Posts: 73
Location: Mumbai

PostPosted: Wed Mar 09, 2011 6:56 pm
Reply with quote

Hi,

I have a list of jobs in PS file (jobname from postion 1-8)
I want to search these jobs in 2 libraries and if found copy the job in another PDS. If not found in both the libraries then write the job name in an exception file.

Can someone please provide the REXX to do this. Thanks.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Wed Mar 09, 2011 6:59 pm
Reply with quote

You've been a member of this forum for well over a year and you haven't figured out that this is a HELP forum, not a DO-YOUR-JOB-FOR-YOU forum? We will help you straighten out code problems, but unless you're willing to pay the going rate for code, don't expect to get it here.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Mar 09, 2011 7:01 pm
Reply with quote

Quote:
Can someone please provide the REXX to do this. Thanks.

NO

for finding the directory differences, why reinvent the wheel ISPF superc will be glad to tell !
Back to top
View user's profile Send private message
daveporcelan

Active Member


Joined: 01 Dec 2006
Posts: 792
Location: Pennsylvania

PostPosted: Wed Mar 09, 2011 7:03 pm
Reply with quote

Pick me, pick me. Bargin rate of 500 USD per day.

Fast turn around , I can give you tested code in a single day.

Paypal perfered.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Mar 09, 2011 7:06 pm
Reply with quote

I disagree on time and material pricing for such tasks icon_biggrin.gif
Back to top
View user's profile Send private message
daveporcelan

Active Member


Joined: 01 Dec 2006
Posts: 792
Location: Pennsylvania

PostPosted: Wed Mar 09, 2011 7:10 pm
Reply with quote

In a way I flat rated this one.

One day is a flat rate, and this is surely simple enough to do in that amount of time.

Unless of course the changing requiements beast shows up, then the 'per day' is my safety net.
Back to top
View user's profile Send private message
anshul_gugnani

New User


Joined: 02 Nov 2009
Posts: 73
Location: Mumbai

PostPosted: Wed Mar 09, 2011 8:00 pm
Reply with quote

Hello,

Sorry to ask the question without trying. I am new to REXX and needed this for a requirement. I thought I could start learning with this one as the first. Thanks evryone.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Mar 09, 2011 9:01 pm
Reply with quote

Hello,

Quote:
I thought I could start learning with this one as the first.
You can . . .

Keep in mind that people here will help, just not do the work for you. . .

Suggest you search in the forum for other rexx topics that do similar things and go from there. You might start with topics that talk about reading all of the members of a pds. You might also consider generating a member list of each library and matching them with the sort. The ones that match could be copied to "new" pds. The mis-matches could be reported. . . Personally, i'd probably generate the 2 lists, compare them, and selectively copy/report as needed.

When you get stuck, explain where you are stuck or what went wrong and someone should be able to offer suggestions.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Finding and researching jobs All Other Mainframe Topics 0
No new posts Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
Search our Forums:

Back to Top