View previous topic :: View next topic |
Author |
Message |
rafa1215 Beginner
Joined: 14 Jun 2006 Posts: 3 Topics: 1
|
Posted: Wed Jun 14, 2006 2:02 pm Post subject: Rexx help from a new user please |
|
|
1. I would like Rexx to grab all lines of information from table A and log it somewhere - call it mismatchlog
2. Then from the mismatch log scan every line and look for specific entries that start of with numeric 23 (for example 23 DAX1234)
3. If it does not find a 23 then exit
4. If it does find a 23 then I would like it to run a compare routine
this is where I'm at so far with my idea - more to come
How would I code this in Rexx |
|
Back to top |
|
 |
superk Advanced

Joined: 19 Dec 2002 Posts: 684 Topics: 5
|
Posted: Wed Jun 14, 2006 2:05 pm Post subject: |
|
|
First of all, why REXX, especially if you're not familiar with it? |
|
Back to top |
|
 |
rafa1215 Beginner
Joined: 14 Jun 2006 Posts: 3 Topics: 1
|
Posted: Wed Jun 14, 2006 2:21 pm Post subject: |
|
|
Good question - I should of said why in the first place
My current employer uses this as a database retrieval program |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12383 Topics: 75 Location: San Jose
|
Posted: Wed Jun 14, 2006 9:33 pm Post subject: |
|
|
rafa1215,
Unload the data using DSNTIUAL from the table specifying the 23 in the WHERE clause.
Now take this dataset as input and run your compare routine.
Hope this helps...
Cheers
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
 |
rafa1215 Beginner
Joined: 14 Jun 2006 Posts: 3 Topics: 1
|
Posted: Thu Jun 22, 2006 3:54 pm Post subject: |
|
|
Thanks Kolusu,
Sorry to take so long getting back to ya
I'll give what you recommended a shot and let you know how it comes out |
|
Back to top |
|
 |
|
|