Home      Mainframe Forum      Mainfarme Tutorials      IBM Manuals      Mainframe Interview Questions      Mainframe Books      IT News     SiteMap     Downloads


     
 
MAINFRAME - TIP OF THE DAY : programming pearls - The fastest algorithm can frequently be replaced by one that is almost as fast and much easier to understand.

Google
 
Web mainframegurukul.com

Welcome to the mainframegurukul forums.

You are currently viewing our mainframe forums as a guest which gives you limited access to view most discussions, articles. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support at admin@mainframegurukul.com


sorting

 
Post new topic   Reply to topic    mainframegurukul.com Forum Index -> DFSORT , ICETOOL & Utilities
  View previous topic :: View next topic  
Author Message
rajmech6884
Member


Joined: 17 Jul 2008
Posts: 1

PostPosted: Mon Jul 21, 2008 6:18 pm    Post subject: sorting Reply with quote

LOGIC FOR SORTING A FILE
Back to top
View user's profile Send private message

dbzTHEdinosauer
Moderator


Joined: 02 Oct 2006
Posts: 406

PostPosted: Mon Jul 21, 2008 7:44 pm    Post subject: Reply with quote

if record01 > record02, put record01 behind record02.
if record01 < record02, put record01 infront of record 02.
if record01 = record02, put record01 infront of record 02.


search in google for bubble sort.
_________________
Dick Brenholtz
American in Varel, Germany
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    mainframegurukul.com Forum Index -> DFSORT , ICETOOL & Utilities All times are GMT + 5 Hours
Page 1 of 1



 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Related topics
 Topics   Replies   Author   Views   Last Post 
No new posts patching a file 3 devmain 2980 Sat Jan 30, 2010 6:48 pm
Anuj Dhawan View latest post
No new posts Reg: DDIO file in XPED 4 simha 6591 Wed Nov 26, 2008 1:29 pm
Anuj Dhawan View latest post
No new posts REMOVE HIGH VALUE FROM THE EXTRACT FILE 2 Guest 2884 Fri May 09, 2008 11:04 am
Krishna View latest post
No new posts SELECT clause for Flat / ESDS file. 2 rangab 3465 Sat Mar 22, 2008 1:46 pm
sai View latest post
No new posts SPLIT FILE 3 pkaushi 19740 Thu Feb 23, 2006 1:30 am
pzmohanty View latest post
 



This widget requires Flash Player 9 or better








Go to top of the page
 

Online ABEND Reference ||  JCL References ||  COBOL References ||  VSAM References ||  Tutorials by Drona Series ||  SQL tutorial ||  BOOKS  ||  DB2 INTERVIEW QUESTIONS ||  COBOL INTERVIEW QUESTIONS  ||  JCL INTERVIEW QUESTIONS ||  JCL2 INTERVIEW QUESTIONS ||  VSAM INTERVIEW QUESTIONS ||  CICS INTERVIEW QUESTIONS  ||  Online tutorials ||  Online ABEND Reference ||  JCL References ||  COBOL References ||  VSAM References ||  Tutorials by Drona Series ||  SQL tutorial ||  BOOKS  ||  SiteMap  ||  Expeditor Tutorial  ||  FILE-AID Tutorial  ||  Changeman Tutorial  ||  COBOL   ||  DB2   ||  JCL  ||  CICS  ||  VSAM  ||  DB2 Interview Questions ( 110 )   || Simple JCL Tutorials  || JCL Tutorial from MainframeGurukul.com   || Simple JCL Tutorial - Chapter1 ;|| Mainframe Forum - Tutorials  || Mainframe Tutorials

Drona Educational Forums - Mainframe Cobol DB2 CICS Board
Powered by phpBB