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
 

 

syncsort for sorting a file with recs with different lrecl

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

New User


Joined: 22 May 2007
Posts: 3
Location: Bangalore

PostPosted: Fri Sep 21, 2007 4:41 pm    Post subject: syncsort for sorting a file with recs with different lrecl
Reply with quote

hi,


I am currently having difficulty in sorting a sequential file with FB record format WITH LRECL SET TO 2800.

The file has two three types of records
1. HEADER-1
2 DETAIL RECORD-DDD RECS-2800 REC LENGTH
3.RRR

Each DDD record will be followed by number of RRR recs eg:

DDD
RRR-1
RRR-2
RRR-3
DDD
RRR-1
RRR-2
RRR-3
RRR-4

Now I want to sort on a key(order number) which comes as the 218th field on DDD record and 4 the field on RRR.

Also I want to change to replace a string in DDD record with another string.

Please could someone help me on how to get this done with Syncsort.

Thanks
Rashmi
Back to top
View user's profile Send private message

CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Fri Sep 21, 2007 6:09 pm    Post subject:
Reply with quote

Please provide a more complete example of your input - here is the header?) and an example of what you want the output to look like....
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 Sep 21, 2007 7:48 pm    Post subject:
Reply with quote

Hello,

What does this mean?
Quote:
The file has two three types of records
I do not understand icon_confused.gif

As CG suggests, you need to post a better example of your data and what you want the output to look like. You do not need to use long records. Small records will work just fine for resolving your question.
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
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Write out NODUPS but just from one file Jay Villaverde DFSORT/ICETOOL 8 Fri Jul 14, 2017 12:44 am
No new posts How to add header with Date(YYMMDD) i... Rajan Moorthy DFSORT/ICETOOL 2 Thu Jul 06, 2017 11:44 pm
No new posts How to write Specific Fields from Mul... Padhu SYNCSORT 6 Thu Jul 06, 2017 10:26 am
No new posts How to generate a new unique Input fi... for1ranjith CLIST & REXX 11 Sat Jul 01, 2017 12:09 pm


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