IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

SORT -JOINKEY----Different scenarios


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
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
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
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
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
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:

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

DFSORT Developer


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

PostPosted: Wed Aug 04, 2010 11:54 pm
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Need to set RC4 through JCL SORT DFSORT/ICETOOL 5
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts JCL sort card - get first day and las... JCL & VSAM 9
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
No new posts how to calculate SUM value for VB fil... DFSORT/ICETOOL 1
Search our Forums:

Back to Top