It'll work, no question on that but what will be the return code? That's what I was saying. Topic author might be intrested in that.
Search found 4 matches
- Mon Sep 05, 2016 9:06 pm
- Forum: IBM DFSort, ICETOOL, ICEMAN, ICEGENER.
- Topic: Compare two files and get RC=4.
- Replies: 11
- Views: 2733
- Mon Sep 05, 2016 9:17 am
- Forum: IBM DFSort, ICETOOL, ICEMAN, ICEGENER.
- Topic: Compare two files and get RC=4.
- Replies: 11
- Views: 2733
Re: Compare two files and get RC=4.
10667 Mahigill,
using sort fields unnecessarily is waste of cpu resource.
Even u can use joinkeys to achive this, sill requires three pass.
In other words there are many ways to achieve.
Your goal should be providing optimal solution if possible, rather than a solution
It might not be optimal ...
using sort fields unnecessarily is waste of cpu resource.
Even u can use joinkeys to achive this, sill requires three pass.
In other words there are many ways to achieve.
Your goal should be providing optimal solution if possible, rather than a solution
It might not be optimal ...
- Sun Sep 04, 2016 10:56 pm
- Forum: Suggestions & Feedback : About the website.
- Topic: How did you find us?
- Replies: 294
- Views: 789799
Re: How did you find us?
Hi,
I am also from India.
I am also from India.
- Sun Sep 04, 2016 10:55 pm
- Forum: IBM DFSort, ICETOOL, ICEMAN, ICEGENER.
- Topic: Compare two files and get RC=4.
- Replies: 11
- Views: 2733
Re: Compare two files and get RC=4.
You can also do this it like this:
//S1 EXEC PGM=ICETOOL
//TOOLMSG DD SYSOUT=*
//DFSMSG DD SYSOUT=*
//CON DD DSN=... input file1
// DD DSN=... input file2
//T1 DD DSN=&&T1,UNIT=SYSDA,SPACE=(TRK,(1,1)),DISP=(,PASS)
//TOOLIN DD *
SORT FROM(CON) USING(CTL1)
COUNT FROM(T1) NOTEMPTY RC4 ...
//S1 EXEC PGM=ICETOOL
//TOOLMSG DD SYSOUT=*
//DFSMSG DD SYSOUT=*
//CON DD DSN=... input file1
// DD DSN=... input file2
//T1 DD DSN=&&T1,UNIT=SYSDA,SPACE=(TRK,(1,1)),DISP=(,PASS)
//TOOLIN DD *
SORT FROM(CON) USING(CTL1)
COUNT FROM(T1) NOTEMPTY RC4 ...