View previous topic :: View next topic
|
Author |
Message |
Khwairakpam Raju Singh
New User
Joined: 05 Dec 2007 Posts: 29 Location: Bangalore
|
|
|
|
In REXX: I am using MEM1,MEM2,...MEM20 in panel as fiels name. And in program i am trying to assign values to those field by using do loop. The problem is that values are not assigning to them...here is the code:
ODSN=Dataset_name
Y = OUTTRAP('VAR.')
name="'"ODSN"'"
"LISTDS" NAME "MEMBERS"
DO I = 1 TO 20
S=MEM||I
S=VAR.I
END |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
Take a look at the VALUE built-in function, or at the INTERPRET instruction.
O. |
|
Back to top |
|
|
Khwairakpam Raju Singh
New User
Joined: 05 Dec 2007 Posts: 29 Location: Bangalore
|
|
|
|
Thank u very much....i got it using INTERPRET INSTRUCTION...THANK YOU.... |
|
Back to top |
|
|
Swati Surana
New User
Joined: 11 Jan 2008 Posts: 7 Location: India
|
|
|
|
I am also using MEM1,MEM2,...MEM20 in panel as fiels name. And in program i am trying to use values given in those fields.The problem is that i am not able to retrieve the values.Here is the code
DO I = 1 TO 20
IF MEM||I ¬= ' ' THEN
DO
VAR = DSN||I
SAY VAR
"DEL" VAR
END
END |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Khwairakpam Raju Singh wrote: |
Thank u very much....i got it using INTERPRET INSTRUCTION...THANK YOU.... |
Enough said ? |
|
Back to top |
|
|
Swati Surana
New User
Joined: 11 Jan 2008 Posts: 7 Location: India
|
|
|
|
Can anybody pls suggest me something asap |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
Have you read this thread carefully?
O. |
|
Back to top |
|
|
Swati Surana
New User
Joined: 11 Jan 2008 Posts: 7 Location: India
|
|
|
|
Thanks a lot .. got it using VALUE function |
|
Back to top |
|
|
|