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

How we can read input file on character by character in REXX


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

New User


Joined: 23 Aug 2006
Posts: 93
Location: chennai

PostPosted: Thu Sep 21, 2006 1:08 pm
Reply with quote

How we can read input file on character by character in REXX .
How we can read string on character by character in REXX .
Back to top
View user's profile Send private message
Kevin

Active User


Joined: 25 Aug 2005
Posts: 234

PostPosted: Thu Sep 21, 2006 6:07 pm
Reply with quote

ramfrom84 wrote:
How we can read input file on character by character in REXX.

I'm not familiar with any method. To the best of my knowledge, data is read on a per-record basis.

ramfrom84 wrote:

How we can read string on character by character in REXX .

- Use SUBSTR.
- Convert each character of the string into a stem variable.
Back to top
View user's profile Send private message
ramfrom84

New User


Joined: 23 Aug 2006
Posts: 93
Location: chennai

PostPosted: Thu Sep 21, 2006 6:31 pm
Reply with quote

Ok. Thanks,
i want to read the file by character basics.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Thu Sep 21, 2006 7:51 pm
Reply with quote

You can't. You have to read it by logical records, then process each record separately.

O.
Back to top
View user's profile Send private message
ramfrom84

New User


Joined: 23 Aug 2006
Posts: 93
Location: chennai

PostPosted: Thu Sep 21, 2006 8:30 pm
Reply with quote

ok. Thanks.
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 TRIM everything from input, output co... DFSORT/ICETOOL 1
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
Search our Forums:

Back to Top