MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Is JOINKEYS possible with ICEGENER

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
mf_user
Intermediate


Joined: 01 Jun 2003
Posts: 372
Topics: 105

PostPosted: Mon May 10, 2010 10:00 pm    Post subject: Is JOINKEYS possible with ICEGENER Reply with quote

Hi,

Is it possible to perform JOINKEYS operation with ICEGENER (SORTGENR) and DFSPARM (SORTCNTL) combination? Would you please give me an example?

Thanks.
_________________
MF
==
Any training that does not include the emotions, mind and body is incomplete; knowledge fades without feeling.
==
Back to top
View user's profile Send private message Send e-mail
Anuj Dhawan
Intermediate


Joined: 19 Jul 2007
Posts: 298
Topics: 7
Location: Mumbai,India

PostPosted: Tue May 11, 2010 4:14 am    Post subject: Reply with quote

Why are you trying to do all such things (keeping your other recent post in mind) using ICEgener when you've other, rather appropriate, utilities available to you.

For some details on ICEGENER, look at the "Notes" section at the link: 9.2.17 Use ICEGENER Instead of IEBGENER.

You should keep in mind, ICEGENER is used to achieve more efficient processing for applications set up to use the IEBGENER system utility, it is not meant to replace the application written for sort/icetool. Also, JOINKEYS is a feacture which was introduced to enhance DFSORT and DFSORT's ICETOOL applications, it is not supposed to be used with ICEGENER right-away, the way you asked for.
_________________
Regards,
Anuj
Back to top
View user's profile Send private message
Anuj Dhawan
Intermediate


Joined: 19 Jul 2007
Posts: 298
Topics: 7
Location: Mumbai,India

PostPosted: Wed May 12, 2010 4:46 am    Post subject: Reply with quote

However, you might experiment with that and it might work, as ICEGENER internally invokes SORT in the background (I just learnt it) and you should be able to do what you might be looking for. Let's wait for the representative of this product, they will be having a better answer; lets' hope for the best.
_________________
Regards,
Anuj
Back to top
View user's profile Send private message
Frank Yaeger
Sort Forum Moderator
Sort Forum Moderator


Joined: 02 Dec 2002
Posts: 1618
Topics: 31
Location: San Jose

PostPosted: Wed May 12, 2010 12:14 pm    Post subject: Reply with quote

MF,

My first question would be - why do you want to use ICEGENER for a JOINKEYS operation instead of using DFSORT or ICETOOL directly?
_________________
Frank Yaeger - DFSORT Development Team (IBM)
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
DFSORT is on the Web at:
www.ibm.com/storage/dfsort
Back to top
View user's profile Send private message Send e-mail Visit poster's website
mf_user
Intermediate


Joined: 01 Jun 2003
Posts: 372
Topics: 105

PostPosted: Wed May 12, 2010 10:35 pm    Post subject: COPY Reply with quote

Frank,

I tried several SORT statements (WHEN=GROUP, INCLUDE, INREC, OUTFIL etc) things with ICEGENER and got successful results. So, I tried my hand at using JOINKEYS but it did not click. It was a question out of curiosity.

Thanks.
_________________
MF
==
Any training that does not include the emotions, mind and body is incomplete; knowledge fades without feeling.
==
Back to top
View user's profile Send private message Send e-mail
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Thu May 13, 2010 1:01 pm    Post subject: Re: COPY Reply with quote

mf_user wrote:
Frank,

I tried several SORT statements (WHEN=GROUP, INCLUDE, INREC, OUTFIL etc) things with ICEGENER and got successful results. So, I tried my hand at using JOINKEYS but it did not click. It was a question out of curiosity.

Thanks.


Mfuser,

I am not sure what you tried, but you can make joinkeys work with DFSORT'S ICEGENER. Here is a sample jcl

Code:

//STEP0100 EXEC PGM=ICEGENER         
//SYSPRINT DD SYSOUT=*               
//INP1     DD *                     
Z                                   
D                                   
A                                   
C                                   
//INP2     DD *                     
C  MATCH VALUE2                     
A  MATCH VALUE1                     
//SYSUT2   DD SYSOUT=*               
//DFSPARM  DD *                     
  JOINKEYS F1=INP1,FIELDS=(1,1,A)   
  JOINKEYS F2=INP2,FIELDS=(1,1,A)   
  SORT FIELDS=COPY                   
  REFORMAT FIELDS=(F1:1,3,F2:4,15)   
//SYSIN    DD DUMMY                 
//*


And the output is

Code:

A  MATCH VALUE1
C  MATCH VALUE2

_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
mf_user
Intermediate


Joined: 01 Jun 2003
Posts: 372
Topics: 105

PostPosted: Thu May 13, 2010 1:27 pm    Post subject: Reply with quote

wow........wow.......excellent stuff !

Thanks a lot. There was one problem. Job was expecting SYSUT1. So, I supplied it and it worked fine.

Thanks once again. Smile
_________________
MF
==
Any training that does not include the emotions, mind and body is incomplete; knowledge fades without feeling.
==
Back to top
View user's profile Send private message Send e-mail
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Thu May 13, 2010 1:55 pm    Post subject: Reply with quote

mf_user wrote:
wow........wow.......excellent stuff !

Thanks a lot. There was one problem. Job was expecting SYSUT1. So, I supplied it and it worked fine.

Thanks once again. Smile


mf_user,

If you are using DFSORT , there is absolutely NO problem at all.
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Frank Yaeger
Sort Forum Moderator
Sort Forum Moderator


Joined: 02 Dec 2002
Posts: 1618
Topics: 31
Location: San Jose

PostPosted: Thu May 13, 2010 2:29 pm    Post subject: Reply with quote

Quote:
There was one problem. Job was expecting SYSUT1. So, I supplied it and it worked fine.


Just for closure, please show the job you used that didn't work, and the job you used with SYSUT1 that did work, and I'll explain how to change your job so it doesn't expect SYSUT1.
_________________
Frank Yaeger - DFSORT Development Team (IBM)
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
DFSORT is on the Web at:
www.ibm.com/storage/dfsort
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Frank Yaeger
Sort Forum Moderator
Sort Forum Moderator


Joined: 02 Dec 2002
Posts: 1618
Topics: 31
Location: San Jose

PostPosted: Thu May 13, 2010 2:32 pm    Post subject: Reply with quote

Trivia: Note that in Kolusu's ICEGENER job, we actually don't need SORT FIELDS=COPY because ICEGENER automatically supplies OPTION COPY.
_________________
Frank Yaeger - DFSORT Development Team (IBM)
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
DFSORT is on the Web at:
www.ibm.com/storage/dfsort
Back to top
View user's profile Send private message Send e-mail Visit poster's website
mf_user
Intermediate


Joined: 01 Jun 2003
Posts: 372
Topics: 105

PostPosted: Fri May 14, 2010 4:18 am    Post subject: to Frank Reply with quote

Hi,

Job that worked:

Code:

//STEP0100 EXEC PGM=ICEGENER         
//SYSUT1   DD *
//SYSPRINT DD SYSOUT=*               
//INP1     DD *                     
Z                                   
D                                   
A                                   
C                                   
//INP2     DD *                     
C  MATCH VALUE2                     
A  MATCH VALUE1                     
//SYSUT2   DD SYSOUT=*               
//DFSPARM  DD *                     
  JOINKEYS F1=INP1,FIELDS=(1,1,A)   
  JOINKEYS F2=INP2,FIELDS=(1,1,A)   
  SORT FIELDS=COPY                   
  REFORMAT FIELDS=(F1:1,3,F2:4,15)   
//SYSIN    DD DUMMY                 
//*


Job that DID NOT work:

Code:

//STEP0100 EXEC PGM=ICEGENER         
//SYSPRINT DD SYSOUT=*               
//INP1     DD *                     
Z                                   
D                                   
A                                   
C                                   
//INP2     DD *                     
C  MATCH VALUE2                     
A  MATCH VALUE1                     
//SYSUT2   DD SYSOUT=*               
//DFSPARM  DD *                     
  JOINKEYS F1=INP1,FIELDS=(1,1,A)   
  JOINKEYS F2=INP2,FIELDS=(1,1,A)   
  SORT FIELDS=COPY                   
  REFORMAT FIELDS=(F1:1,3,F2:4,15)   
//SYSIN    DD DUMMY                 
//*


Error Message:
Code:

DDNAME SYSUT1   CANNOT BE OPENED


Thanks.
_________________
MF
==
Any training that does not include the emotions, mind and body is incomplete; knowledge fades without feeling.
==
Back to top
View user's profile Send private message Send e-mail
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Fri May 14, 2010 9:54 am    Post subject: Reply with quote

mf_user,

Please post the complete sysout from both the jobs.

Thanks
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Frank Yaeger
Sort Forum Moderator
Sort Forum Moderator


Joined: 02 Dec 2002
Posts: 1618
Topics: 31
Location: San Jose

PostPosted: Fri May 14, 2010 12:08 pm    Post subject: Reply with quote

Quote:
Job that DID NOT work:

...

Error Message:

DDNAME SYSUT1 CANNOT BE OPENED


That job works fine with DFSORT's ICEGENER. That message is NOT a DFSORT message, so I can only assume that you're using Syncsort, not DFSORT, and while the job works with DFSORT (ICExxxs messages), it does NOT work with Syncsort (WERxxxs messages).
_________________
Frank Yaeger - DFSORT Development Team (IBM)
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
DFSORT is on the Web at:
www.ibm.com/storage/dfsort
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group