sabarish kannan <sabarishkanna...@gmail.com> 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 lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to