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

How to do this using SYNSORT....


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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
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: 8797
Location: Welsh Wales

PostPosted: Wed Dec 09, 2009 5:03 pm
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: 2481
Location: Netherlands, Amstelveen

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

There is no such thing "OUTREC OVERLAY" in SYNCSORT.
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 Dec 09, 2009 5:58 pm
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 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: 2481
Location: Netherlands, Amstelveen

PostPosted: Wed Dec 09, 2009 6:05 pm
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 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

Superior Member


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

PostPosted: Wed Dec 09, 2009 6:12 pm
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: 2481
Location: Netherlands, Amstelveen

PostPosted: Wed Dec 09, 2009 7:32 pm
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

Moderator Emeritus


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

PostPosted: Wed Dec 09, 2009 10:13 pm
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
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

Moderator Emeritus


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

PostPosted: Thu Dec 10, 2009 8:28 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Compare input date as YYMMDD with the... SYNCSORT 5
This topic is locked: you cannot edit posts or make replies. Adding comments in Synsort SYNCSORT 18
No new posts Help Skipping Records based on Condit... SYNCSORT 10
No new posts Setting RC4 for a specific no. record... JCL & VSAM 15
No new posts Synsort shows on the same outfile as ... JCL & VSAM 21
Search our Forums:

Back to Top