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

DB2 Query Support in Syncsort's SYNCTOOL


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

Active User


Joined: 03 Feb 2007
Posts: 175
Location: PUNE(INDIA)

PostPosted: Mon Jun 30, 2008 4:25 pm
Reply with quote

Is DB2 Query Support available in Syncsort's SYNCTOOL ???
If yes, how to use it ?
Can I get sample JCL ?
Back to top
View user's profile Send private message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2481
Location: @my desk

PostPosted: Mon Jun 30, 2008 6:24 pm
Reply with quote

Which version of syncsort do you have?. Query support is available from 1.2, If I remember correctly.

Thanks,
Arun
Back to top
View user's profile Send private message
ParagChouguley

Active User


Joined: 03 Feb 2007
Posts: 175
Location: PUNE(INDIA)

PostPosted: Mon Jun 30, 2008 7:06 pm
Reply with quote

Yes ! Its 1.2 !
Also DB2 support works with PGM=SYNCSORT, but I need to know how it works with SYNCTOOL
Back to top
View user's profile Send private message
Alissa Margulies

SYNCSORT Support


Joined: 25 Jul 2007
Posts: 496
Location: USA

PostPosted: Mon Jun 30, 2008 9:45 pm
Reply with quote

ParagChouguley wrote:
I need to know how it works with SYNCTOOL
When a SORT or COPY DB2 Query application is invoked from a program (i.e., SYNCTOOL), specify the DB2 parameter in the $ORTPARM DD statement.

Just out of curiosity, why is SYNCTOOL required? Is this an existing application that you want to add a DB2 Query component? If so, could the SYNCTOOL application be converted to a SORT application?
Back to top
View user's profile Send private message
ParagChouguley

Active User


Joined: 03 Feb 2007
Posts: 175
Location: PUNE(INDIA)

PostPosted: Tue Jul 01, 2008 11:14 am
Reply with quote

Quote:

When a SORT or COPY DB2 Query application is invoked from a program (i.e., SYNCTOOL), specify the DB2 parameter in the $ORTPARM DD statement

I didnot understand this. Moreover, I execute SYNCTOOL thru JCL.

Quote:

Just out of curiosity, why is SYNCTOOL required? Is this an existing application that you want to add a DB2 Query component? If so, could the SYNCTOOL application be converted to a SORT application?


There is no such perticular application I require this for. As a matter of curiosity I was just looking for it. Also I always prefer SYNCTOOL over simple sort as it allows multiple sorting/copying in a single step.
Back to top
View user's profile Send private message
Alissa Margulies

SYNCSORT Support


Joined: 25 Jul 2007
Posts: 496
Location: USA

PostPosted: Tue Jul 01, 2008 9:26 pm
Reply with quote

ParagChouguley wrote:
Quote:

When a SORT or COPY DB2 Query application is invoked from a program (i.e., SYNCTOOL), specify the DB2 parameter in the $ORTPARM DD statement

I didnot understand this. Moreover, I execute SYNCTOOL thru JCL.

To initiate a SORT or COPY with the DB2 Query facility using job control statements, specify PARM='DB2=dsn' on the EXEC statement. (The dsn referred to in the DB2 parameter is the DB2 subsystem name to be accessed).
Code:
//STEP1 EXEC PGM=SYNCSORT,PARM='DB2=DSN1'

However, when a program other than SYNCSORT (or one of its aliases) is being executed, the DB2 parameter must be specified on the $ORTPARM DD statement:
Code:
//STEP1 EXEC PGM=SYNCTOOL
//$ORTPARM DD *
DB2=DSN1

Hope this clarifies it for you.
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 Compare only first records of the fil... SYNCSORT 7
No new posts APL support TSO/ISPF 1
No new posts RC query -Time column CA Products 3
No new posts Dynamically pass table name to a sele... DB2 2
No new posts Query on edit primary command CLIST & REXX 5
Search our Forums:

Back to Top