[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: Array and define uses
Hello
>In the code use
>
>string {dedcd} $i by ' ' into $temp_dedcd
>string {Name Provider} $i by ' ' into $temp_provider
thank you for the reply. But it still does not solve my problem
because my define statement do not have {dedcd}
the reason i used while loop to do the task below
put {dedcd1} {NameProvider1} into Provider(0) Dedcd Name
put {dedcd2} {NameProvider2} into Provider(1) Dedcd Name
put {dedcd3} {NameProvider3} into Provider(2) Dedcd Name
put {dedcd4} {NameProvider4} into Provider(3) Dedcd Name
put {dedcd5} {NameProvider5} into Provider(4) Dedcd Name
put {dedcd6} {NameProvider6} into Provider(5) Dedcd Name
put {dedcd7} {NameProvider7} into Provider(6) Dedcd Name
from my define statement
#define NumberOfProvider 16
#define dedcd1 'AET'
#define NameProvider1 'AETNA'
#define dedcd2 'EQU'
#define NameProvider2 'EQUATABLE'
.........
>You were stringing the word dedcd with $i into $temp_dedcd instead of
>stringing the value of dedcd ({dedcd}) with $i.
>You were doing the same thing with NameProvider also.
Thank you for the input
Bye
Sehat Rosny
PeopleCode and SQR Developer
>