Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

SORT -JOINKEY----Different scenarios

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
prem_ibm

New User


Joined: 15 Sep 2007
Posts: 31
Location: Chennai

PostPosted: Wed Aug 04, 2010 1:01 pm    Post subject: SORT -JOINKEY----Different scenarios
Reply with quote

Hi All,

Please suggest on below scenario.

1) Whether SORT (JOINKEY) will support for Huge files (input files have
millions of records).

2) Whehter SORT (JOINKEY) will support for TAP Data sets (here input file
on Tapes)
here my intention...is i want to use without copying TAP data set to
DASD data set.

3) Considered both the Input file & O/p file are -- RECFM=FB.

4) i am going to Compare one Field say WS-NAME which is present in
both the files.

5) Considered that WS-NAME position in first file at (10,5) where as in
second file at (70,5).

6) Also let me know what will be the max length...at which SORT
(JOINKEY) support.

Please suggest for Points 1,2 & 6.....all of your response/reply on this is
much aprreciated.Thanks
Back to top
View user's profile Send private message

smijoss

Active User


Joined: 30 Aug 2007
Posts: 114
Location: pune

PostPosted: Wed Aug 04, 2010 1:56 pm    Post subject:
Reply with quote

I generally use ICEGENER for tape, but that means u can use SORT for TAPE as ICEGENER calls SORT.

If your files are huge you need to specify region=0M.
not sure of the MAXIMUM size.

why dont you just execute it and let us know the result / error trace.

it should be a homework for us icon_smile.gif
Back to top
View user's profile Send private message
smijoss

Active User


Joined: 30 Aug 2007
Posts: 114
Location: pune

PostPosted: Wed Aug 04, 2010 2:07 pm    Post subject:
Reply with quote

from "User Guide for DFSORT PTFs UK51706 and UK51707"

The REFORMAT statement :
The maximum length for TYPE=F joined records is 32760 bytes. The F1 and F2 files can both be fixed-length, both be variable-length, or can be
mixed fixed-length and variable-length.

The maximum length for TYPE=V joined records is 32767 bytes.
The F1 and F2 files can both be variable-length or can be mixed fixed-length and variable-length.
Back to top
View user's profile Send private message
Skolusu

Senior Member


Joined: 07 Dec 2007
Posts: 2205
Location: San Jose

PostPosted: Wed Aug 04, 2010 10:13 pm    Post subject:
Reply with quote

prem_ibm,

1. Yes
2. Yes
6. Length as the comparison key or input/output length? The comparison key can be a max of 4080 bytes and the length can be 32767 bytes for Variable files.

For complete details on JOINKEYS, see:

http://www.ibm.com/support/docview.wss?rs=114&uid=isg3T7000174
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Moderator


Joined: 15 Feb 2005
Posts: 7130
Location: San Jose, CA

PostPosted: Wed Aug 04, 2010 11:54 pm    Post subject:
Reply with quote

Quote:
I generally use ICEGENER for tape, but that means u can use SORT for TAPE as ICEGENER calls SORT.


DFSORT supports tape. ICEGENER has nothing to do with JOINKEYS.

Quote:
If your files are huge you need to specify region=0M.
not sure of the MAXIMUM size.


You DO NOT necessarily need to specify REGION=0M for large files. Please don't make erroneous general statements like this.
Back to top
View user's profile Send private message
smijoss

Active User


Joined: 30 Aug 2007
Posts: 114
Location: pune

PostPosted: Thu Aug 05, 2010 10:19 am    Post subject:
Reply with quote

Frank ,

I m sorry about that. will be careful next time
Back to top
View user's profile Send private message
prem_ibm

New User


Joined: 15 Sep 2007
Posts: 31
Location: Chennai

PostPosted: Thu Aug 05, 2010 1:10 pm    Post subject: Reply to: SORT -JOINKEY----Different scenarios
Reply with quote

Thanks to Every one for u r reply.

Regards

Prem
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SORT to unpack a feild shr_amar DFSORT/ICETOOL 7 Fri Jul 07, 2017 4:32 am
No new posts How to write Specific Fields from Mul... Padhu SYNCSORT 6 Thu Jul 06, 2017 10:26 am
No new posts Optimize sort inrec parse vishwakotin DFSORT/ICETOOL 6 Mon Jun 26, 2017 11:15 pm
No new posts Reduce CPU Times for Join Sort santoshn SYNCSORT 12 Sat Jun 10, 2017 1:40 pm
No new posts Db2 load job abending in SORT mistah kurtz DB2 4 Mon Jun 05, 2017 3:58 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us