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 Append data from two files into a sin... Praveen04 DFSORT/ICETOOL 5 Thu Mar 16, 2017 7:29 pm
No new posts Join giving more records than expected Danielle.Filteau SYNCSORT 2 Thu Mar 09, 2017 3:28 am
No new posts SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm
No new posts Join of more than one table dibyendumandal11111 DB2 6 Mon Feb 13, 2017 11:36 pm
No new posts SYNCSORT SEQNUM and FI fields. nartcr SYNCSORT 7 Sat Jan 21, 2017 4:02 am


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