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

Equivalent of IFTHEN in SYNCSORT


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
r-a-v-i

New User


Joined: 30 Apr 2007
Posts: 4
Location: Hyderabad

PostPosted: Fri Jul 20, 2007 5:00 pm
Reply with quote

Hi,
in our shop we use Syncsort. i came to know that Syncsort does not have the IFTHEN facility. Can anyone tell how to code IFTHEN equivalent using Syncsort.

For Example,

//S1 EXEC PGM=ICEMAN
//SYSOUT DD SYSOUT=*
//SORTIN DD DSN=... input file
//SORTOUT DD DSN=... output file
//SYSIN DD 
OPTION COPY
INREC IFTHEN=(WHEN=(1,6,CH,EQ,C' '),OVERLAY=(6C'0'))
/*

How can we code this using SYNCSORT.

Please tell me the sites which have syncsort documentation.

Thank You
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Fri Jul 20, 2007 5:08 pm
Reply with quote

If your Syncsort is current, BUILD, IFTHEN, IFOUTLEN, and OVERLAY parameters are there.
Back to top
View user's profile Send private message
r-a-v-i

New User


Joined: 30 Apr 2007
Posts: 4
Location: Hyderabad

PostPosted: Fri Jul 20, 2007 5:39 pm
Reply with quote

The Syncsort version used in our shot is SYNCSORT FOR Z/OS 1.2.2.3R.

Does this version support the above parameters ?
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Jul 20, 2007 8:27 pm
Reply with quote

Hello,

Syncsort 1.2 is the current release (AFAIK).

These parameters are not in the current documentation (BUILD, IFTHEN, IFOUTLEN, and OVERLAY). They might be incorporated in Synctool which currently has no distributed documentation. Synctool provides some of the functionality of ICETOOL, so it may be worth a try.

There should be a new release early in 2008 (doesn't do much good now icon_smile.gif ) that includes new sort and tool modules as well as documentation for Synctool.
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Developer


Joined: 15 Feb 2005
Posts: 7129
Location: San Jose, CA

PostPosted: Fri Jul 20, 2007 9:06 pm
Reply with quote

Quote:
They might be incorporated in Synctool


IFTHEN, etc are INREC, OUTREC and OUTFIL parameters. They have nothing to do with SYNCTOOL.

Quote:
There should be a new release early in 2008 (doesn't do much good now ) that includes new sort and tool modules as well as documentation for Synctool.


I don't think it's appropriate for anybody outside of Syncsort to be making these kinds of statements (actually I don't think it's appropriate for anybody inside of Syncsort to be making these kinds of statements since there's no guarantee it will happen until it happens).
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Fri Jul 20, 2007 9:14 pm
Reply with quote

r-a-v-i wrote:
The Syncsort version used in our shot is SYNCSORT FOR Z/OS 1.2.2.3R.
Does this version support the above parameters ?
Heck I've only got 1.2.1.1N and I've got them....
As I've said before:
Quote:
I can only suggest, that you .... contact SyncSort Mainframe Support at 201.930.8260 or zos_tech@syncsort.com. Alissa Margulies of SyncSort Mainframe Product Services indicated that I should feel free to pass on her contact info to anyone who is in need of manuals and she would be happy to assist.
If email, use your company email address. Be sure to ask for the PDF "Addendum. BUILD, IFTHEN, IFOUTLEN, and OVERLAY Parameters" (zos12padd.pdf).
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Jul 20, 2007 10:19 pm
Reply with quote

Hello,

Yup, normally, i'd agree
Quote:
I don't think it's appropriate for anybody outside of Syncsort to be making these kinds of statements (actually I don't think it's appropriate for anybody inside of Syncsort to be making these kinds of statements since there's no guarantee it will happen until it happens).
but when i talked with development/support folks at Syncsort, they gave the green light.

As you say, no guarantee until it happens.


Thanks for this info "zos12padd.pdf". I'll have to get that downloaded.
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Developer


Joined: 15 Feb 2005
Posts: 7129
Location: San Jose, CA

PostPosted: Fri Jul 20, 2007 11:13 pm
Reply with quote

Quote:
There should be a new release early in 2008 (doesn't do much good now ) that includes new sort and tool modules as well as documentation for Synctool.


Quote:
but when i talked with development/support folks at Syncsort, they gave the green light.

As you say, no guarantee until it happens.


I know I shouldn't, but I can't resist.

Actually on public boards: First they said "soon" (that was several months ago), then they said "this summer", and now they're saying "early in 2008". Take that for what it's worth.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Jul 20, 2007 11:23 pm
Reply with quote

Sometimes it is good to not resist icon_smile.gif

Quote:
Actually on public boards: First they said "soon" (that was several months ago), then they said "this summer", and now they're saying "early in 2008". Take that for what it's worth.


Kinda like - "if it happens, it must be possible". . . . icon_wink.gif
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Wed Jul 25, 2007 11:55 am
Reply with quote

r-a-v-i wrote:
Can anyone tell how to code IFTHEN equivalent using Syncsort.

Hi,

IFTHEN, as stated by William, is available in SyncSort as well. For reference purpsoe you can go through the following links:
ibmmainframes.com/viewtopic.php?t=20980&highlight=
For SPLICE in SyncSort, following link can give you a start:
ibmmainframes.com/viewtopic.php?t=21485&highlight=

Hope this helps.
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 File matching functionality in Easytr... DFSORT/ICETOOL 14
No new posts Count Records with a crietaria in a f... DFSORT/ICETOOL 5
No new posts Problem with IFTHEN=(WHEN=GROUP,BEGIN... DFSORT/ICETOOL 5
No new posts DFSORT/SYNCSORT/ICETOOL JCL & VSAM 8
Search our Forums:

Back to Top