about sort



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

Re: about sort

Postby pahi » Thu Nov 12, 2009 9:43 am

Thanks Frank
pahi
 
Posts: 27
Joined: Wed Apr 01, 2009 3:27 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Re: about sort

 

Re: about sort

Postby pahi » Thu Nov 12, 2009 10:50 am

Hi,

Thanks and I understood the concept but i din't understood why PUSH=(61:ID=8) usage,
because i tried with PUSH=(61:ID=1) it worked fine for me. is there any specific reason for this usage.

Regards,
Pahi
pahi
 
Posts: 27
Joined: Wed Apr 01, 2009 3:27 pm
Has thanked: 0 time
Been thanked: 0 time

Re: about sort

Postby Frank Yaeger » Thu Nov 12, 2009 10:32 pm

ID=1 specifies a length of 1 for the id. That would only allow for 9 groups, 1-9. The next group would be 0 (ID=10), then 1 again (ID=11) and so on. So the SORT on the id wouldn't work correctly. ID=8 specifies a length of 8 for the id. This would allow for 99999999 groups (1-99999999). If you have 9 groups or less, you could use ID=1. If you have more than 9 groups, you'll need a larger length for the ID.
Frank Yaeger - DFSORT Development Team (IBM) - yaeger@us.ibm.com
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
=> DFSORT/MVS is on the Web at http://www.ibm.com/storage/dfsort
User avatar
Frank Yaeger
Global moderator
 
Posts: 1080
Joined: Sat Jun 09, 2007 8:44 pm
Has thanked: 0 time
Been thanked: 14 times

Re: about sort

Postby pahi » Mon Nov 16, 2009 12:22 pm

Thanks Frank
pahi
 
Posts: 27
Joined: Wed Apr 01, 2009 3:27 pm
Has thanked: 0 time
Been thanked: 0 time

Previous

Return to JCL

 


  • Related topics
    Replies
    Views
    Last post