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

More than two files while working on JOIN in SYNCSORT


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
podarakesh

New User


Joined: 03 Apr 2008
Posts: 3
Location: Chennai

PostPosted: Thu Apr 03, 2008 7:07 pm
Reply with quote

Can i use more than two files while working on JOIN in SYNCSORT?
When i tried I had a syntax error?

SYSIN :
Code:
    JOINKEYS FILES=F1,FIELDS=(1,18,A)               
    JOINKEYS FILES=F2,FIELDS=(1,18,A)               
    JOINKEYS FILES=F3,FIELDS=(1,18,A)               
             *                                       
    JOIN UNPAIRED,F1                                 
    REFORMAT FIELDS(F1:1,42,                         
                    F2:19,15,                       
                    F3:19,13)                       
                    *                               
    SORT FIELDS=(1,18,CH,A)                         
    OUTFIL FILES=1                                   

WER268A JOINKEYS STATEMENT: SYNTAX ERROR
WER268A REFORMAT STATEMENT: SYNTAX ERROR
WER211B SYNCSMF CALLED BY SYNCSORT; RC=0000
WER449I SYNCSORT GLOBAL DSM SUBSYSTEM ACTIVE
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Thu Apr 03, 2008 7:31 pm
Reply with quote

podarakesh wrote:
Can i use more than two files while working on JOIN in SYNCSORT?
Apparently not......
You could do it with in two steps, joining F2 & F3 first......
Back to top
View user's profile Send private message
Alissa Margulies

SYNCSORT Support


Joined: 25 Jul 2007
Posts: 496
Location: USA

PostPosted: Thu Apr 03, 2008 7:40 pm
Reply with quote

CICS Guy wrote:
You could do it with in two steps, joining F2 & F3 first......

This is also what I would recommend.
Back to top
View user's profile Send private message
podarakesh

New User


Joined: 03 Apr 2008
Posts: 3
Location: Chennai

PostPosted: Mon Apr 07, 2008 1:29 pm
Reply with quote

Thanks a lot for the response...
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts Merge two VSAM KSDS files into third ... JCL & VSAM 6
No new posts Joinkeys - 5 output files DFSORT/ICETOOL 7
No new posts PD not working for unsigned packed JO... DFSORT/ICETOOL 5
Search our Forums:

Back to Top