View previous topic :: View next topic
|
Author |
Message |
Uday Kumar R
New User
Joined: 07 Nov 2007 Posts: 27 Location: Mumbai
|
|
|
|
Hi Team,
I am trying to understand, Is there any possibilty to compare digits in the same record. Say suppose like this.
Source data:
Code: |
0005180040001328290XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX0005180040001328399
0005180040001356357XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX0005180040001328399
0005180040001328347XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX0005180040001328399
0005180040001328399XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX0005180040001328399 |
Out put:
Code: |
0005180040001328399XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX0005180040001328399 |
Lenght of file: 80bytes
Comparision between: (1-19) Vs(51-69)
(1-19): Account number
(51-69) : Card number.
Trying to find, all the accounts having card number equal to Account number.
Thank you for giving your time. |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
Code: |
INREC IFTHEN=(WHEN=(pos1,length1,CH,EQ,pos2,length2),
dosomething)) |
|
|
Back to top |
|
|
Pandora-Box
Global Moderator
Joined: 07 Sep 2006 Posts: 1592 Location: Andromeda Galaxy
|
|
|
|
Bill,
INCLUDE COND could be used for this too
Is INREC better than INCLUDE?? |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
I was going from the "subject", maybe you read the thing better, Pandora-Box :-) |
|
Back to top |
|
|
|