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

How to sort files with two differnt lrecl


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
prabhu118
Currently Banned

New User


Joined: 11 Feb 2008
Posts: 14
Location: Chennai

PostPosted: Tue Apr 01, 2008 12:40 pm
Reply with quote

Hi

I have a GDG. I do not know the number of versions it has.

Latest version has lrecl 1020 and and other has 270.

Input to sort file is the GDG BASE FILE alone.

GDG BASE FILE - A.B.C

VERSION: A.B.C.G0001V000
A.B.C.G0002V000
A.B.C.G0003V000
A.B.C.G0004V000
A.B.C.G0005V000
A.B.C.G0006V000
.
.
.
.
and so on...

SORTIN is :A.B.C
Back to top
View user's profile Send private message
UmeySan

Active Member


Joined: 22 Aug 2006
Posts: 771
Location: Germany

PostPosted: Tue Apr 01, 2008 2:33 pm
Reply with quote

Hi prabhu118 !

Just have a try and let a now the result's.

Just be free of fear and try it out. You will learn a lot more by doing something than by asking before having it checked out by yourself.

Self-respect is growing by finding it out on your own.

Regards, UmeySan
Back to top
View user's profile Send private message
sameer

New User


Joined: 10 Mar 2005
Posts: 41
Location: United States Of America

PostPosted: Wed Apr 02, 2008 1:52 am
Reply with quote

Hello,

prabhu118

Is your question complete ? If you want to sort GDG base. A normal SORT will work out, I tried and don't see any issues.
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: Wed Apr 02, 2008 2:08 am
Reply with quote

prabhu118 wrote:
Latest version has lrecl 1020 and and other has 270.
Sorry, the block size can vary but "With fixed-length records, LRECL must be the same for all data sets."
Think about it, how would a sort know when the lrecl changes?
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Wed Apr 02, 2008 7:59 am
Reply with quote

Sameer
Quote:
A normal SORT will work out, I tried and don't see any issues.
Have you tried sorting diff LRECL concatenated?
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 -> DFSORT/ICETOOL

 


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 Compare 2 files(F1 & F2) and writ... JCL & VSAM 8
No new posts Need to set RC4 through JCL SORT DFSORT/ICETOOL 5
No new posts How to split large record length file... DFSORT/ICETOOL 10
Search our Forums:

Back to Top