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
 

 

Equivalent of IFTHEN in SYNCSORT

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Equivalent of IFTHEN in SYNCSORT
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: 3158
Location: Tucson AZ

PostPosted: Fri Jul 20, 2007 5:08 pm    Post subject:
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    Post subject:
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

Site Director


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

PostPosted: Fri Jul 20, 2007 8:27 pm    Post subject:
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 Moderator


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

PostPosted: Fri Jul 20, 2007 9:06 pm    Post subject:
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: 3158
Location: Tucson AZ

PostPosted: Fri Jul 20, 2007 9:14 pm    Post subject:
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

Site Director


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

PostPosted: Fri Jul 20, 2007 10:19 pm    Post subject:
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 Moderator


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

PostPosted: Fri Jul 20, 2007 11:13 pm    Post subject:
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

Site Director


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

PostPosted: Fri Jul 20, 2007 11:23 pm    Post subject:
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

Senior Member


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

PostPosted: Wed Jul 25, 2007 11:55 am    Post subject: Re: Equivalent of IFTHEN in SYNCSORT
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:
http://ibmmainframes.com/viewtopic.php?t=20980&highlight=
For SPLICE in SyncSort, following link can give you a start:
http://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    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 Syncsort Help to group fields sudhakarraju SYNCSORT 6 Thu Dec 29, 2016 1:38 am
No new posts syncsort: copy lines after the keyword shreya19 SYNCSORT 7 Fri Dec 02, 2016 9:47 am
No new posts Syncsort - Hard coded Value in output PORYES SYNCSORT 1 Thu Nov 03, 2016 9:23 am
No new posts Syncsort - NULL in Integer field chec... nartcr SYNCSORT 4 Thu Oct 06, 2016 6:47 am
No new posts ICETOOL/SYNCSORT - SYSPRINT output nartcr DFSORT/ICETOOL 17 Wed Oct 05, 2016 10:46 pm


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