Thanks stupid me the = is test subcommand not clist thank you 

> On Sep 23, 2024, at 2:58 PM, Binyamin Dissen 
> <[email protected]> wrote:
> 
> You can subdivide an area with an EQUate statement.
> 
> On Mon, 23 Sep 2024 11:53:35 -0400 Joseph Reichman
> <[email protected]> wrote:
> 
> :>Binyamin
> :>
> :>You are really good actually what I wanted to do was to copy over a 
> variable name and call IKJCT441 to dump the variable
> :>
> :>Hoping you can answer two follow up questions regarding tso test and clist
> :>
> :>First where did you see this clist variable assignment format
> :>
> :>I thought = operator was just a compare  
> :>And guess you cannt use x’ cause clist unlike Rexx var only like printable 
> character values for variables
> :>
> :>Second if I getmain 20 bytes with test subcommand and equate it to workarea 
> and want to copy data to bytes 5 - 8
> :>
> :>Can reference to area in copy as workarea+4
> :>
> :>Though it passes the syntax check for test
> :>
> :>Doesn’t seem like it works
> :>
> :>Forgot for the  first to get the name of the variable in workarea I used 
> workarea=c’name’ with ampersand it puts a curly brace in
> :>Thank you
> :>
> :>> On Sep 23, 2024, at 11:10?AM, Binyamin Dissen 
> <[email protected]> wrote:
> :>>
> :>> ?On Mon, 23 Sep 2024 08:20:52 -0400 Joseph Reichman
> :>> <[email protected]> wrote:
> :>>
> :>> :>Is posssible to use the tso test subcommand copy to copy a clist 
> variable for example in test script
> :>> :>Germain 20 sp(0) equate(workarea)
> :>> :>SET NAME = JOE
> :>> :>Copy &name workarea(4)
> :>>
> :>> :>Thought copy would let me copy a literal
> :>>
> :>> workarea=c'&name'
> 
> --
> Binyamin Dissen <[email protected]>
> http://www.dissensoftware.com
> 
> Director, Dissen Software, Bar & Grill - Israel
> 
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to