On Thu, 24 Jun 2021, at 15:42, Joseph Reichman wrote:
> I save the values in a ISPF table
How have you defined the table - I mean what variables?
> After I do an ISFEXEC ST I do a 2 checks
> 1) if they are in the table
> 2) if their original status was awaiting execution and now it’s
> executing I would like to change that corresponding variable from that
> row to executing
> So when I get a RC 0 from TBSCAN the numeric rowid is returned
> I then do a TBGET with that rowid and have SAVENAME point to a variable
> SAVENAME(therow)
You shouldn't need to use these extended variables. If you defined the
table with an appropriate set of fields in each row, as soon as you TBGET
the row you want, all the corresponding variables in your rexx (or clist
or assembler program or whatever) will be set from the vars in that row
of the table.
You'd then change them as required and write the revised row back
into the table.
Extended vars are only useful if you have a table where only a
small number of rows need to store a non-standard set of extra
fields. IIRC ispf profiles also work that way - they are tables with
a single row consisting only of extended variables.
--
Jeremy Nicoll - my opinions are my own.