Solved

Windows version of IBM's "ICETOOL"?

Posted on 2014-12-19
15
100 Views
Last Modified: 2015-05-27
Hi All... does anyone know if there exists a Windows compatible version (...or reasonable facsimile) of IBM's "ICETOOL", as discussed here:

http://www.tutorialspoint.com/jcl/jcl_utility_programs.htm

Thanks
    Shawn
0
Comment
Question by:shawn857
15 Comments
 
LVL 45

Expert Comment

by:aikimark
ID: 40511249
@Shawn

Is Delphi the correct zone for this question?  If so, please describe the relationship between a Windows ICETOOL utility (if any exists) and Delphi.

What do you need this utility to do?

Have you looked at Powershell?
0
 

Author Comment

by:shawn857
ID: 40511299
Well, I'm looking for something that is callable from my Delphi app that has the capabilities of ICETOOL... namely:

"SPLICE is a powerful operation of ICETOOL which is similar to SORT JOIN, but with additional features. It can compare two or more files on specified field(s) and create one or more output files like file with matching records, file with non-matching records, etc."

Thanks
    Shawn
0
 
LVL 45

Accepted Solution

by:
aikimark earned 500 total points
ID: 40511309
Powershell has a compare-object command.  You could compare two files with a statement that resembles the following:
Compare-Object $(Get-Content c:\scripts\x.txt) $(Get-Content c:\scripts\y.txt)

Open in new window

Reference: http://technet.microsoft.com/en-us/library/ee156812.aspx

You could launch a batch process from your Delphi application if your login had permission to run Powershell scripts.
_________________________
Also, look at DLSuperC.
Also, look at the COMPARE command.
0
Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 

Author Comment

by:shawn857
ID: 40511319
Thanks Aikimark. Can I run Powershell "seamlessly" (ie. no clunky DOS window generated) from a Delpi app. DLSuperC looks interesting... can this (and Powershell) handle files of unlimited size?

The COMPARE command... is that a Powershell command?

Thanks
    Shawn
0
 
LVL 45

Expert Comment

by:aikimark
ID: 40511335
Compare is a DOS/Windows command.

You should be able to run any external program or batch file from your Delphi application.  Try the ShellExecute function.
0
 

Author Comment

by:shawn857
ID: 40514216
Thanks aikimark... do you know if PowerShell also has sorting functionality and can operate on unlimited size files?

Thanks
   Shawn
0
 
LVL 45

Expert Comment

by:aikimark
ID: 40514238
It does have a sort verb.  I don't know what file size restrictions exist.  Most of the default process is done in memory.
0
 

Author Comment

by:shawn857
ID: 40520705
Aikimark, using ShellExecute, can I run a Poweshell task completely "invisibly" from my app - or will there be a clumsy telltale DOS window that appears to the user?

Thanks
    Shawn
0
 
LVL 45

Expert Comment

by:aikimark
ID: 40521011
try it and see.  If you can't hide the window, instantiate a wscript.shell object and use its .RUN method, which has a parameter that allows you to hide the command window.
0
 
LVL 37

Expert Comment

by:Geert Gruwez
ID: 40523405
why not just program the comparison and the output you want ?
it might be easy ... or not ... :)
0
 

Author Comment

by:shawn857
ID: 40536415
Yes I know Geert, but I'd just rather not have to re-invent the wheel if such a tool for Delphi already existed...

Thanks
   Shawn
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 40799549
I've requested that this question be closed as follows:

Accepted answer: 500 points for aikimark's comment #a40521011

for the following reason:

This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0
 

Expert Comment

by:shawn226
ID: 40795157
I'll accept aikimark's response from 2014-12-20 at 19:37:52ID: 40511309 as an answer, okay? Sorry to have left this hanging.

Regards
   Shawn
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Create and license users in Office 365 in bulk based on a CSV file. A step-by-step guide with PowerShell script examples.
This script can help you clean up your user profile database by comparing profiles to Active Directory users in a particular OU, and removing the profiles that don't match.
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question