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
 

 

More than two files while working on JOIN in SYNCSORT

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: More than two files while working on JOIN in SYNCSORT
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: 2150
Location: At my coffee table

PostPosted: Thu Apr 03, 2008 7:31 pm    Post subject: Re: SYNCSORT JOIN
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: 500
Location: USA

PostPosted: Thu Apr 03, 2008 7:40 pm    Post subject: Re: SYNCSORT JOIN
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    Post subject: Reply to: More than two files while working on JOIN in SYNCS
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SYNCSORT SEQNUM and FI fields. nartcr SYNCSORT 6 Sat Jan 21, 2017 4:02 am
No new posts Join in SQL Query vickey_dw DB2 2 Tue Jan 17, 2017 12:15 am
No new posts Syncsort Help to group fields sudhakarraju SYNCSORT 6 Thu Dec 29, 2016 1:38 am
No new posts syncsort: copy lines after the keyword shreya19 SYNCSORT 7 Fri Dec 02, 2016 9:47 am
No new posts High CPU consumption Job using IAM fi... aswinir JCL & VSAM 15 Thu Dec 01, 2016 8:28 pm


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