View previous topic :: View next topic
|
Author |
Message |
neelima.sinha
New User
Joined: 14 Sep 2007 Posts: 30 Location: Bangalore
|
|
|
|
Hi,
i need to compare header record of file A and FILE B.
if header A > HEADER B
copy file A to file B
else
sent an email.
end
how can i do this via ICETOOL
REGARDS
_________________
Neelima Sinha |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
neelima.sinha wrote: |
if header A > HEADER B |
You need to do a better job in explaining when this condition stands true?
1. "Header" is general term; there might be other fileds which constitute it - how do you want to compare them and when do you say A is greater than B?
2. What is the LRECL & RECFM of input and output? |
|
Back to top |
|
|
neelima.sinha
New User
Joined: 14 Sep 2007 Posts: 30 Location: Bangalore
|
|
|
|
hi,
the record looks like this
GRXL06 2009042719:39:52
both file has same format and need to compare the date in both file
if file a date > file b date
copy file a to file b
else
empty file b
end-if |
|
Back to top |
|
|
|