|
|
| Author |
Message |
Rani
New User
Joined: 23 Oct 2003 Posts: 2
|
|
|
|
Pls provide references/Samples for the using Dynamic SQLs in COBOL for OS/390.
Thanks |
|
| Back to top |
|
 |
References
|
Posted: Thu Oct 23, 2003 12:14 pm Post subject: Re: Samples for the using Dynamic SQLs in COBOL for OS/390 |
 |
|
|
 |
mdtendulkar
Active User
Joined: 29 Jul 2003 Posts: 257 Location: USA
|
|
| Back to top |
|
 |
yesgokul
New User
Joined: 20 Aug 2003 Posts: 9
|
|
| Back to top |
|
 |
Rani
New User
Joined: 23 Oct 2003 Posts: 2
|
|
|
|
Hi mdtendulkar/yesgokul,
ThanX for the Links. Just one clarification. my requirement needs the Table name to be changing. For eg. T1, T2, T3 etc. The number value appended is obtained at runtime. I beleive this can be done in a Procedure. But can I use a host variable for the table name in the embedded dynamic SQL?
Regards
Rani |
|
| Back to top |
|
 |
yesgokul
New User
Joined: 20 Aug 2003 Posts: 9
|
|
|
|
Hi Rani,
Sorry for the late reply. From what i Know, if the table name is changing then you have to prepare the SQL stmt again & continue processing.(maybe there's another way).
Let me know if you need more info.
Thanks,
Gokul |
|
| Back to top |
|
 |
|
|