Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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
No new posts COB2 file processing rizwanaccy COBOL Programming 8 Tue Jan 02, 2018 1:00 pm
No new posts KSDS and Index file in cobol deepak14450 COBOL Programming 9 Fri Dec 22, 2017 9:36 am
No new posts Preserve order in Input File pshongal DFSORT/ICETOOL 13 Thu Dec 21, 2017 4:20 pm
No new posts Inefficient BUILD - VB records paddin... Daniel Prosser SYNCSORT 9 Thu Dec 14, 2017 3:52 pm
No new posts ISSUE IN copying Sequential file reco... thesumitk JCL & VSAM 2 Wed Dec 13, 2017 3:07 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us