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 Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts Garbage on output file Hervey Martinez SYNCSORT 4 Wed Sep 27, 2017 12:50 am
No new posts File Aid tool to compare numeric data balaji81_k Compuware & Other Tools 2 Tue Sep 26, 2017 3:35 am
No new posts Compare yesterday's date to the one o... migusd SYNCSORT 11 Fri Sep 22, 2017 11:35 pm

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