Read data till a particular position in REXX.

Post a reply


This question is a means of preventing automated form submissions by spambots.
Smilies
:D :) ;) :( :o :shock: :? 8-) :rofl: :x :cry: :P :oops: :!: :twisted: :roll: :evil: :?: :idea: :arrow: :| :good: :mrgreen: :sorry: :unknown: :yes: :lol:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Read data till a particular position in REXX.

Re: Read data till a particular position in REXX.

by Anuj Dhawan » Mon May 18, 2015 3:14 pm

Thanks for the feedback - good luck.

Re: Read data till a particular position in REXX.

by Rexx1 » Sun May 17, 2015 6:37 pm

Thanks substring() has helped me.

Re: Read data till a particular position in REXX.

by enrico-sorichetti » Tue Jan 20, 2015 2:39 pm

Yes Anuj,

but ...
a generic question just deserves a technically correct but generic answer

really these questions make me wonder if the TS has ever read a manual on the subject ;)

Re: Read data till a particular position in REXX.

by Anuj Dhawan » Tue Jan 20, 2015 2:10 pm

I'm not a REXX expert however, can substring() be of some use here, no - Enrico?

Re: Read data till a particular position in REXX.

by enrico-sorichetti » Tue Jan 20, 2015 11:54 am

since zOS I/O is record oriented every read will return a full record
then You are free to process as many bytes as You need

Read data till a particular position in REXX.

by Rexx » Tue Jan 20, 2015 11:17 am

Hi,

I have a dataset of length 132. For a requirement, I want to read the contents only upto 80th column from it. Is there anyway to do it using ISPF edit macros/REXX?

Top