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

Can we read the file in REVERSE order


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
NAYAZSHAIK

New User


Joined: 23 Jun 2004
Posts: 2

PostPosted: Wed Jun 23, 2004 2:40 pm
Reply with quote

CAN WE READ A FILE IN REVERSE ORDER(FROM DOWN TO UP) WITH USING SORT COMMAND?[/i][/b]
Back to top
View user's profile Send private message
bluebird

Active User


Joined: 03 Feb 2004
Posts: 127

PostPosted: Fri Jun 25, 2004 12:32 pm
Reply with quote

or try a bit of REXX coding using by (-x) on do clause....
Code:

do N=queued() to 1 by -1
say i.n
end
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Fri Jun 25, 2004 7:20 pm
Reply with quote

or use Assembler Language.
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Using Dynamic file handler in the Fil... COBOL Programming 2
No new posts Validating record count of a file is ... DFSORT/ICETOOL 13
No new posts Rotate partition-logical & physic... DB2 0
No new posts Adding first / last acct numerber to ... DFSORT/ICETOOL 7
No new posts Merge two VSAM KSDS files into third ... JCL & VSAM 6
Search our Forums:

Back to Top