Using variable for file name (1 viewing) (1) Guest
Favoured: 0
|
|
|
TOPIC: Using variable for file name
|
beadams (User)
Fresh Boarder
Posts: 6
|
|
Using variable for file name 2 Months ago
|
Karma: 0
|
|
Hello,
I am trying to use SQL more and more especially inside RPG programs. I am trying to use an UPDATE statement in an RPGILE program, but I want to pass the file name as a parameter. In an UPDATE statement the table name can't be a host variable. I also thought of the CREATE ALIAS, but I can't use a host variable for the table name there, either. Is there a better way than using OVRDBF?
Thanks for your help.
Bobby
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
|
|