Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
How to sort files with two differnt lrecl

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
Author Message
prabhu118
Currently Banned

New User


Joined: 11 Feb 2008
Posts: 14
Location: Chennai

PostPosted: Tue Apr 01, 2008 12:40 pm    Post subject: How to sort files with two differnt lrecl
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
References
PostPosted: Tue Apr 01, 2008 12:40 pm    Post subject: Re: How to sort files with two differnt lrecl Reply with quote

UmeySan

Senior Member


Joined: 22 Aug 2006
Posts: 624
Location: Germany

PostPosted: Tue Apr 01, 2008 2:33 pm    Post subject:
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: 33
Location: United States Of America

PostPosted: Wed Apr 02, 2008 1:52 am    Post subject:
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: 1200
Location: At my desk

PostPosted: Wed Apr 02, 2008 2:08 am    Post subject: Re: How to sort files with two differnt lrecl
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

Senior Member


Joined: 20 Jan 2007
Posts: 709
Location: Hollywood

PostPosted: Wed Apr 02, 2008 7:59 am    Post subject:
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
Moved: Wed Apr 02, 2008 4:22 pm by superk From JCL to DFSORT/ICETOOL
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1