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
 

 

How to do this using SYNSORT....

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
karthikr44

Active User


Joined: 25 Aug 2007
Posts: 235
Location: Chennai

PostPosted: Wed Dec 09, 2009 2:21 pm    Post subject: How to do this using SYNSORT....
Reply with quote

Hi,

I want to achieve the following requirement using SYSNSORT. Here the input file is VB.

Input
Code:

DFLT AMT
C 6       
638--------
7.30   
3.10   
12.20 
25.00 


Required output:
Code:

DFLT AMT
C 6       
638--------
007.30   
003.10   
012.20 
025.00 


I tried the following

OUTREC OVERLAY=(642:642,6,CH,EDIT=(IIT.TT)). But it is throwing syntax error.

WER268A OUTREC STATEMENT : SYNTAX ERROR.

Here the problem is the input file contains explicit decimal point.

Please share your thoughts,
Thanks
R KARTHIK
Back to top
View user's profile Send private message

karthikr44

Active User


Joined: 25 Aug 2007
Posts: 235
Location: Chennai

PostPosted: Wed Dec 09, 2009 4:57 pm    Post subject: Reply to: How to do this using SYNSORT....
Reply with quote

Hi,

Does anyone have any idea on this..

Kindly share ur thoughts..

Regards
R KARTHIK
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Wed Dec 09, 2009 5:03 pm    Post subject: Re: Reply to: How to do this using SYNSORT....
Reply with quote

karthikr44 wrote:
Does anyone have any idea on this..
Kindly share ur thoughts..

Obviously not as you have had no responses.
However, the SYNCSORT team are in a different time zone to you.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2433
Location: Netherlands, Amstelveen

PostPosted: Wed Dec 09, 2009 5:34 pm    Post subject:
Reply with quote

There is no such thing "OUTREC OVERLAY" in SYNCSORT.
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 Dec 09, 2009 5:58 pm    Post subject:
Reply with quote

PeterHolland wrote:
There is no such thing "OUTREC OVERLAY" in SYNCSORT.
I'm not sure why do you say this Peter. Unless we're getting into "which version of SyncSort" "OUTREC OVERLAY" is a supported function in SyncSort. PLease check the response from Alissa in this link http://www.ibmmainframes.com/viewtopic.php?t=44917&highlight=overlay

it shows a usage of OUTREC OVERLAY in SyncSort.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2433
Location: Netherlands, Amstelveen

PostPosted: Wed Dec 09, 2009 6:05 pm    Post subject:
Reply with quote

Anuj Dhawan wrote:
PeterHolland wrote:
There is no such thing "OUTREC OVERLAY" in SYNCSORT.
I'm not sure why do you say this Peter. Unless we're getting into "which version of SyncSort" "OUTREC OVERLAY" is a supported function in SyncSort. PLease check the response from Alissa in this link http://www.ibmmainframes.com/viewtopic.php?t=44917&highlight=overlay

it shows a usage of OUTREC OVERLAY in SyncSort.


Oops, i was consulting a private manual Programmer's Guide
Release 3.7. Must be out of date, cause there was no
mention of OVERLAY in that manual.
Well im out of date too, i guess.
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 Dec 09, 2009 6:12 pm    Post subject:
Reply with quote

icon_smile.gif...not to worry -- once in a while we all been to that and (apart from this thread icon_smile.gif) I learn quite a lot from your replies... icon_smile.gif

Have a good one,

Regards,
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2433
Location: Netherlands, Amstelveen

PostPosted: Wed Dec 09, 2009 7:32 pm    Post subject:
Reply with quote

Well Anuj, thats a very nice reaction. Appreciate it a lot. icon_biggrin.gif
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: Wed Dec 09, 2009 10:13 pm    Post subject:
Reply with quote

Hello,

Karthik, have you looked at UFF (Unsigned Free Format)?

This may help. . .
Back to top
View user's profile Send private message
karthikr44

Active User


Joined: 25 Aug 2007
Posts: 235
Location: Chennai

PostPosted: Thu Dec 10, 2009 1:05 pm    Post subject: Reply to: How to do this using SYNSORT....
Reply with quote

Hi,

Thanx Dick scherrer. UFF format worked.

Regards
R KARTHIK
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: Thu Dec 10, 2009 8:28 pm    Post subject: Reply to: How to do this using SYNSORT....
Reply with quote

Good to hear it is working - thank you for letting us know icon_smile.gif

d
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 Help Skipping Records based on Condit... nartcr SYNCSORT 10 Fri Aug 22, 2014 2:56 am
No new posts Setting RC4 for a specific no. record... pankaj1002 JCL & VSAM 15 Tue Aug 28, 2012 3:08 pm
No new posts Synsort shows on the same outfile as ... ken herbolic JCL & VSAM 21 Sat May 21, 2011 1:36 am
No new posts Synsort - sort records within that pa... pratiksha JCL & VSAM 2 Thu Nov 11, 2010 4:58 pm
No new posts need help in synsort raj12vel JCL & VSAM 18 Fri May 08, 2009 10:58 pm


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