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

syncsort for sorting a file with recs with different lrecl


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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: 2146
Location: At my coffee table

PostPosted: Fri Sep 21, 2007 6:09 pm
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

Moderator Emeritus


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

PostPosted: Fri Sep 21, 2007 7:48 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts WER247A SORTOUT HAS INCOMPATIBLE LRECL SYNCSORT 7
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
Search our Forums:

Back to Top