Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 records based on length exceeds ... maxsubrat DFSORT/ICETOOL 7 Wed Oct 04, 2017 4:48 pm
No new posts JOINKEYS Paired and Unpaired Sort MFwhiz DFSORT/ICETOOL 4 Fri Sep 29, 2017 1:48 am
No new posts Difference in SORT & ICETOOL Mohan Kothakota DFSORT/ICETOOL 5 Fri Sep 22, 2017 4:56 pm
No new posts OC4 in SORT Mohan Kothakota DFSORT/ICETOOL 2 Tue Sep 12, 2017 6:30 pm
No new posts SORT Trailer Count - LRECL Output co... amorante DFSORT/ICETOOL 5 Tue Aug 29, 2017 8:57 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us