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
 
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 Comparing two sequential files Mohan Kothakota COBOL Programming 14 Mon Apr 16, 2018 6:35 pm
No new posts Reformatting and adding additional fi... Badbeef SYNCSORT 6 Thu Apr 05, 2018 4:45 pm
No new posts SORT 3 files,extract specific fields ... Kiransr DFSORT/ICETOOL 13 Fri Mar 23, 2018 10:54 am
No new posts How to build one file from two input ... daniele DFSORT/ICETOOL 5 Tue Feb 27, 2018 6:45 pm
No new posts Compare two PS files using ICE TOOL f... SENTHIL MURUGAAN DFSORT/ICETOOL 5 Sun Dec 24, 2017 1:26 pm

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