Hi Gary Thanks. It works.
Sabarish On Wed, Apr 1, 2009 at 2:01 PM, Gary Threadgold <[email protected]> wrote: > sabarish kannan <[email protected]> on 2009-04-01 at 09:53 > wrote: > >Hi > > > > I have a situation in a TSO REXX pgm, where i will not be knowing the > >linenum which is being updated, before hand.It will be known only at > >runtime. So i have setup a counter which gets incremented and when the > >condition gets satisfied for updating a row in a sequential file i try to > >use a command like below > > > >"EXECIO 1 DISKRU INSEQ LCTR" > > > >Where LCTR is the line counter. But it gives a error saying the line can > be > >number or should not be provided. How can we try using a variable ? Any > >tips. > > > >thanks > >Sabarish > > Hi Sabarish, > You'll need to move your counter variable outside the quotes: > > "EXECIO 1 DISKRU INSEQ" lctr > > Regards, > Gary. > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: GET IBM-MAIN INFO > Search the archives at http://bama.ua.edu/archives/ibm-main.html > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

