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

Read a file with skip condition to stem var


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

New User


Joined: 02 Aug 2007
Posts: 64
Location: Bangalore

PostPosted: Thu Feb 05, 2009 6:30 pm
Reply with quote

Hi,

I need to read a input seq file using rexx, the point where i got stuck is my input file is having some records with 70th position "*". I need to skip reading these records, I am wondering is there a way where while reading file it self using EXECIO i can skip the records which matc's this criteria. I am reading all the data to stem var and processing it.

Please let me know the alternative in case this is not possible while reading file it self...

Thanks,
Back to top
View user's profile Send private message
superk

Global Moderator


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

PostPosted: Thu Feb 05, 2009 6:31 pm
Reply with quote

No.

I'd remove them first before calling the REXX exec. Otherwise, you'll need to read the file one record at a time and, of course, include the logic to skip those records.
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 Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
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
Search our Forums:

Back to Top