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 Restart=Step not working ALAK SAHA JCL & VSAM 6 Fri Jun 30, 2017 6:28 pm
No new posts Reduce CPU Times for Join Sort santoshn SYNCSORT 12 Sat Jun 10, 2017 1:40 pm
No new posts getting three output files out of JOI... migusd SYNCSORT 7 Mon Jun 05, 2017 11:30 pm
No new posts Unable to create multiple files using... mbattu COBOL Programming 3 Fri May 05, 2017 5:35 pm
This topic is locked: you cannot edit posts or make replies. Merge two files and update Trailer re... Yashashri JCL & VSAM 1 Thu May 04, 2017 12:54 pm


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