MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Rexx help from a new user please

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
rafa1215
Beginner


Joined: 14 Jun 2006
Posts: 3
Topics: 1

PostPosted: Wed Jun 14, 2006 2:02 pm    Post subject: Rexx help from a new user please Reply with quote

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
View user's profile Send private message
superk
Advanced


Joined: 19 Dec 2002
Posts: 684
Topics: 5

PostPosted: Wed Jun 14, 2006 2:05 pm    Post subject: Reply with quote

First of all, why REXX, especially if you're not familiar with it?
Back to top
View user's profile Send private message
rafa1215
Beginner


Joined: 14 Jun 2006
Posts: 3
Topics: 1

PostPosted: Wed Jun 14, 2006 2:21 pm    Post subject: Reply with quote

Good question - I should of said why in the first place

My current employer uses this as a database retrieval program
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12383
Topics: 75
Location: San Jose

PostPosted: Wed Jun 14, 2006 9:33 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
rafa1215
Beginner


Joined: 14 Jun 2006
Posts: 3
Topics: 1

PostPosted: Thu Jun 22, 2006 3:54 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group