|
View previous topic :: View next topic
|
| Author |
Message |
muffirulz
New User

Joined: 14 Sep 2005 Posts: 74 Location: Atlanta, (USA)
|
|
|
|
Hi,
Is there a way in sort or iceman through which we can count number fo records in a flat file and based on that set the return code of that step.
For example, in my case I need to count records in a file and then set return code of 16 if the number for records exceeds 100,000.
Please let me know if above is possible.
Thanks,
Muffazel |
|
| Back to top |
|
 |
Skolusu
Senior Member
Joined: 07 Dec 2007 Posts: 2205 Location: San Jose
|
|
| Back to top |
|
 |
muffirulz
New User

Joined: 14 Sep 2005 Posts: 74 Location: Atlanta, (USA)
|
|
|
|
Hi Skolusu,
The code works fine but it can set only return code of 0 or 12. I need to set it to 16.
Thanks,
Muffazel |
|
| Back to top |
|
 |
Frank Yaeger
DFSORT Developer

Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
| Quote: |
| I need to set it to 16. |
Why? What will RC=16 do that RC=12 won't? |
|
| Back to top |
|
 |
muffirulz
New User

Joined: 14 Sep 2005 Posts: 74 Location: Atlanta, (USA)
|
|
|
|
Thanks Skolusu.
I used the solution from the reference and it worked fine. |
|
| Back to top |
|
 |
|
|