Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

read a specific record using record count in rexx

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
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    Post subject: read a specific record using record count in rexx
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

Moderator Team Head


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

PostPosted: Sat Jul 18, 2009 4:06 pm    Post subject: Reply to: read a specific record using record count in rexx
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    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts REXX to get the all datasets name parasmalik20 CLIST & REXX 5 Tue Jul 18, 2017 9:10 pm
No new posts How to write Specific Fields from Mul... Padhu SYNCSORT 6 Thu Jul 06, 2017 10:26 am
No new posts How system know which REXX to excute? jackzhang75 CLIST & REXX 14 Thu Jul 06, 2017 1:09 am
No new posts REXX - Dynamic file Creation d_sarlie CLIST & REXX 7 Tue Jun 27, 2017 7:30 pm
No new posts REXX WTO for console message bipinpeter CLIST & REXX 6 Tue Jun 27, 2017 3:56 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us