Can any one write a REXX program for me?



IBM's Command List programming language & Restructured Extended Executor

Can any one write a REXX program for me?

Postby JCLKINGBY2013 » Sun Jan 22, 2012 12:38 am

I have 2 PS files.

1. Keys file
2. PS file with number of PS files


1. Keys file

field1  field2         field3
101      89237598   20119283982349
101      89237598   20119283643410
102      89237598   20119283947351
103      89237598   20119283364352
104      89237598   20119283982311
105      89237598   20119283982372
106      89237598   20342483982349
107      89237598   20119543987645
108      89237598   20119282382394



2. Another PS file with some information. say file2

SAMNC.MODST.HKAJJD.SALKSF.D120122
SAMNC.SAMNC.HKAJJD.SALKSF.ADSONSA.D120122
SAMNC.SALMS.HKAJJD.SALKSF.SAMN.D120122
SAMNC.MODLS.HKAJJD.SALKSF.D120122


My requirement is to take a PS dataset from the file2, search for the field3 from Keys file. If any of the key found in PS file taken from file2, write the dataset name on to file3 i.e. another ps file.

Please help me out in this...
JCLKINGBY2013
 
Posts: 6
Joined: Sun Jan 22, 2012 12:10 am
Has thanked: 0 time
Been thanked: 0 time

Re: Can any one write a REXX program for me?

 

Re: Can any one write a REXX program for me?

Postby steve-myers » Sun Jan 22, 2012 1:31 am

You are asking for the work product of professionals. Professionals expect to be paid. If you are willing to pay a professional to perform this task, leave a message here and someone may contact you using the private mail facility in this forum with their expected rates.
steve-myers
Global moderator
 
Posts: 1885
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 197 times

Re: Can any one write a REXX program for me?

Postby expat » Tue Jan 24, 2012 10:34 am

Why is this being done in REXX, the IO overheads could be huge depending on the input file sizes.
expat
 
Posts: 382
Joined: Sat Jun 09, 2007 3:21 pm
Has thanked: 0 time
Been thanked: 1 time

Re: Can any one write a REXX program for me?

Postby dick scherrer » Sat Jun 23, 2012 1:43 am

Hello,

Can any one write a REXX program for me?
Many Can, but probably no one Will (Unless you are willing to pay to have this rexx written for you - as Steve mentioned).

We are to help people learn and get thru problems encountered.

We are a Help forum - not a "write it for me forum". We are also not a manual-reading service.

Suggest you consider the impact of using rexx. Depending on the number of records in the input files named in file 2, you have the potential of dimming the lights in the data center. . . How many "keys" is the max for file 1?
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: Can any one write a REXX program for me?

Postby Pedro » Wed Jun 27, 2012 9:21 pm

search for the field3 from Keys file. If any of the key found in PS file taken from file2,


Which one of your sample data fits the criteria?
Pedro Vera
User avatar
Pedro
 
Posts: 569
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 39 times

Re: Can any one write a REXX program for me?

Postby Ed Goodman » Thu Jun 28, 2012 2:31 am

A few questions:
-Are the files in which you are searching all the same records length and type?
-How large can the key file get?
-How large are the files listed in PS file 2?
-How many files can be listed in PS file 2?
Ed Goodman
 
Posts: 342
Joined: Thu Feb 24, 2011 12:05 am
Has thanked: 3 times
Been thanked: 17 times

Re: Can any one write a REXX program for me?

Postby NicC » Thu Jun 28, 2012 11:56 am

I suspect that he has managed to do it by now - he has had 6 months and not come back once.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 2690
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisys (almost)
Has thanked: 4 times
Been thanked: 105 times

Re: Can any one write a REXX program for me?

Postby prino » Thu Jun 28, 2012 12:43 pm

Why not lock (or better just delete) this thread?
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy
User avatar
prino
 
Posts: 536
Joined: Wed Mar 11, 2009 12:22 am
Location: Oostende, Belgium
Has thanked: 3 times
Been thanked: 21 times


Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post