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 How to split large record length file... DFSORT/ICETOOL 10
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Access to non cataloged VSAM file JCL & VSAM 18
Search our Forums:

Back to Top