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 Run rexx with JCL Job CLIST & REXX 1
No new posts Run rexx in batch job CLIST & REXX 7
No new posts Does anyone know rexx for VSE CLIST & REXX 3
No new posts Unable to interpret a hex value to De... COBOL Programming 7
No new posts COBOL sorting, with input GDG base COBOL Programming 7
Search our Forums:

Back to Top