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

read a specific record using record count in rexx


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
lakshmiharirao

New User


Joined: 30 Jun 2009
Posts: 5
Location: bangalore

PostPosted: Sat Jul 18, 2009 3:57 pm
Reply with quote

Could anyone tell me if we can read a spcific record from a ps file using rexx.

eg. if i want to compare the first line of filea and 5th line in fileb...

also, if I pass a file name as argument to another rexx program , can I read the contents of the file in the new rexx program...

please note that i want this to be in rexx only
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Sat Jul 18, 2009 4:06 pm
Reply with quote

EXECIO supports a read of a specific record (or records).

Quote:
also, if I pass a file name as argument to another rexx program , can I read the contents of the file in the new rexx program...


Yes. You can use dynamic allocation (search for BPXWDYN) as needed.
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 -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts To get the count of rows for every 1 ... DB2 3
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
Search our Forums:

Back to Top