MC Press Online Forum
Welcome, Guest
Please Login or Register.    Lost Password?
Using variable for file name (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Using variable for file name
#121865
beadams (User)
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
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
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop
   MC-STORE.COM